Re: [PHY] Adaptive equipment

2017-04-26 Thread Valentin VERGEZ
Hi,

Thanks adrian for the answers !

I wonder who provides the ATH HAL (for 93000) ? Qualcomm ?
The linux ath9k do not use any HAL, so does Qualcomm provide an HAL only for 
BSD ?

Valentin,

- Mail original -
> De: "Adrian Chadd" 
> À: "Valentin VERGEZ" 
> Cc: freebsd-wireless@freebsd.org
> Envoyé: Mercredi 19 Avril 2017 17:23:25
> Objet: Re: [PHY] Adaptive equipment

> hiya,
> 
> there's no DFS mode publicly available for ath. Everything but the
> radar detector is in freebsd-head.
> 
> Oh, if it's talking about adaptive being "transmit rate" then yes, you
> can configure a static transmit rate (ifconfig wlanX ucastrate Y).
> 
> Listen before talk is normal atheros CCA. it's done by the chip,
> programmed by the HAL and can be driver controlled if you know what
> code to add. By default it's set to the -62dBm level that you need for
> CCA.
> 
> Thanks!
> 
> 
> 
> -adrian
> 
> 
> On 19 April 2017 at 06:56, Valentin VERGEZ
>  wrote:
>> Hi,
>>
>> Do you guys know if the "Adaptive" aspect on a FreeBSD wifi product is
>> manageable ?
>> For an ETSI compliance certification, on a FreeBSD wifi Access Point with
>> Atheros AR9380 NIC, the certifying authority needs to know if the equipment 
>> is
>> adaptive or non-adaptive. And if it's an adaptive equipment, if it has the
>> possibility to switch to a non-adaptive mode.
>>
>> Regarding ETSI EN 300 328 V1.9.1 section 4.2.2, Adaptive could correspond to 
>> DFS
>> ... which, on hostap mode, is not fully implemented ?
>>
>> I thought that adaptive was for auto-selecting modulation depending on
>> Signal/Noise ratio. But now, i'm confused.
>>
>> However, it is my understanding that these aspects are operated by the 
>> Qualcomm
>> HAL and therefore not manageable. I seek confirmation on this point.
>>
>> While I am on the subject, I wonder if the "Listen Before Talk" is Frame 
>> Based
>> or Load Based. And again, is it operated by the HAL or an upper layer ?
>>
>> Thanks,
>> ---
>>
>>
>> Valentin VERGEZ
>> ___
>> freebsd-wireless@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> > To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: [PHY] Adaptive equipment

2017-04-26 Thread Adrian Chadd
ath9k has a hal, it's just not called "hal". it's called ath9k_hw.



-adrian


On 26 April 2017 at 02:41, Valentin VERGEZ
 wrote:
> Hi,
>
> Thanks adrian for the answers !
>
> I wonder who provides the ATH HAL (for 93000) ? Qualcomm ?
> The linux ath9k do not use any HAL, so does Qualcomm provide an HAL only for 
> BSD ?
>
> Valentin,
>
> - Mail original -
>> De: "Adrian Chadd" 
>> À: "Valentin VERGEZ" 
>> Cc: freebsd-wireless@freebsd.org
>> Envoyé: Mercredi 19 Avril 2017 17:23:25
>> Objet: Re: [PHY] Adaptive equipment
>
>> hiya,
>>
>> there's no DFS mode publicly available for ath. Everything but the
>> radar detector is in freebsd-head.
>>
>> Oh, if it's talking about adaptive being "transmit rate" then yes, you
>> can configure a static transmit rate (ifconfig wlanX ucastrate Y).
>>
>> Listen before talk is normal atheros CCA. it's done by the chip,
>> programmed by the HAL and can be driver controlled if you know what
>> code to add. By default it's set to the -62dBm level that you need for
>> CCA.
>>
>> Thanks!
>>
>>
>>
>> -adrian
>>
>>
>> On 19 April 2017 at 06:56, Valentin VERGEZ
>>  wrote:
>>> Hi,
>>>
>>> Do you guys know if the "Adaptive" aspect on a FreeBSD wifi product is
>>> manageable ?
>>> For an ETSI compliance certification, on a FreeBSD wifi Access Point with
>>> Atheros AR9380 NIC, the certifying authority needs to know if the equipment 
>>> is
>>> adaptive or non-adaptive. And if it's an adaptive equipment, if it has the
>>> possibility to switch to a non-adaptive mode.
>>>
>>> Regarding ETSI EN 300 328 V1.9.1 section 4.2.2, Adaptive could correspond 
>>> to DFS
>>> ... which, on hostap mode, is not fully implemented ?
>>>
>>> I thought that adaptive was for auto-selecting modulation depending on
>>> Signal/Noise ratio. But now, i'm confused.
>>>
>>> However, it is my understanding that these aspects are operated by the 
>>> Qualcomm
>>> HAL and therefore not manageable. I seek confirmation on this point.
>>>
>>> While I am on the subject, I wonder if the "Listen Before Talk" is Frame 
>>> Based
>>> or Load Based. And again, is it operated by the HAL or an upper layer ?
>>>
>>> Thanks,
>>> ---
>>>
>>>
>>> Valentin VERGEZ
>>> ___
>>> freebsd-wireless@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>> > To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: How well is the Atheros 9287 supported?

2017-04-26 Thread Adrian Chadd
hiya,

AR9287/AR9227 should work fine. I even have laptops using it.

What's inyour /etc/hostapd.conf file?


-a


On 13 April 2017 at 22:23, Chris H  wrote:
> I got the feeling from all my research that this PCIe NIC
> was pretty well supported. So went out and got one. I even
> wen so far as to compile all the necessary bits into my kernel
>
> FreeBSD . 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r316389:
> Sun Apr 2 20:12:40 PDT 2017 amd64
>
> According to dmesg(8):
> ath0:  mem 0xfe30-0xfe30 irq 16 at device 0.0 on pci3
> ath0: RX timestamp: 32 bits
> ath0: TX timestamp: 32 bits
> ath0: [HT] enabling HT modes
> ath0: [HT] enabling short-GI in 20MHz mode
> ath0: [HT] 1 stream STBC receive enabled
> ath0: [HT] 1 stream STBC transmit enabled
> ath0: [HT] 2 RX streams; 2 TX streams
> ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps
> 36Mbps 48Mbps 54Mbps
> ath0: 2T2R
> ath0: 11ng MCS 20MHz
> ath0: MCS 0-7: 6.5Mbps - 65Mbps
> ath0: MCS 8-15: 13Mbps - 130Mbps
> ath0: 11ng MCS 20MHz SGI
> ath0: MCS 0-7: 7Mbps - 72Mbps
> ath0: MCS 8-15: 14.5Mbps - 144.5Mbps
> ath0: 11ng MCS 40MHz:
> ath0: MCS 0-7: 13.5Mbps - 135Mbps
> ath0: MCS 8-15: 27Mbps - 270Mbps
> ath0: 11ng MCS 40MHz SGI:
> ath0: MCS 0-7: 15Mbps - 150Mbps
> ath0: MCS 8-15: 30Mbps - 300Mbps
> ath0: AR9287 mac 384.2 RF5133 phy 15.15
> ath0: 2GHz radio: 0x; 5GHz radio: 0x00c0
> ath0: Use hw queue 1 for WME_AC_BE traffic
> ath0: Use hw queue 0 for WME_AC_BK traffic
> ath0: Use hw queue 2 for WME_AC_VI traffic
> ath0: Use hw queue 3 for WME_AC_VO traffic
> ath0: Use hw queue 8 for CAB traffic
> ath0: Use hw queue 9 for beacons
> ath0: using multicast key search
>
> I should be good to go. I am currently attempting to use this
> as an AP. Following the man pages, and the handbook. I can
> accomplish most of this via hostapd(8). But using only the
> necessary bits from the
> /usr/share/examples/hostapd/hostapd.conf proved otherwise --
>
> Starting hostapd.
> Configuration file: /etc/hostapd.conf
> bsd_set_if_media: SIOCSIFMEDIA Device not configured
> bsd_init: failed to set operation mode
> bsd driver initialization failed.
> wlan0: interface state UNINITIALIZED->DISABLED
> wlan0: AP-DISABLED
> hostapd_free_hapd_data: Interface wlan0 wasn't started
> ELOOP: remaining socket: sock=5 eloop_data=0x801c78000 user_data=0x0
> handler=0x41b240
> /etc/rc.d/hostapd: WARNING: failed to start hostapd
>
> Even tho the wlan0 interface was created in rc.conf successfully.
> Based on the hardware specs listed from dmesg above. How can I set
> this up as an AP with the fastest throughput? I'm on a half acre,
> and will be using this for all my "indoor" stuff, and maybe the
> garage. I think I've got dnsmasq && pf setup well enough for it
> already. I just can't get the thing to work so they can work with
> it. Please help. I'll happily provide any additional information
> needed.
>
> Thanks!
>
> --Chris
>
>
> ___
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"