[LEDE-DEV] [PATCH 2/2] mac80211.sh: Support VHT40 hw type for ibss.

Ben Greear greearb at candelatech.com
Wed Jan 25 05:58:39 PST 2017



On 01/25/2017 12:33 AM, Felix Fietkau wrote:
> On 2017-01-20 00:08, greearb at candelatech.com wrote:
>> From: Ben Greear <greearb at candelatech.com>
>>
>> This doesn't actually limit it to VHT40 rates on ath10k,
>> it seems, but it does let it run VHT 80 rates, which
>> seems better than disable VHT entirely.
>>
>> Signed-off-by: Ben Greear <greearb at candelatech.com>
>> ---
>>   package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
>> index 1fa39b8..792549a 100644
>> --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
>> +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
>> @@ -496,8 +496,8 @@ mac80211_setup_supplicant() {
>>
>>   mac80211_setup_adhoc_htmode() {
>>   	case "$htmode" in
>> -		VHT20|HT20) ibss_htmode=HT20;;
>> -		HT40*|VHT40|VHT160)
>> +		VHT20|HT20|VHT40|VHT160) ibss_htmode="$htmode";;
>> +		HT40*)
> Did you verify that the center channel / control channel setup is
> correct here?

When you request VHT40, then the IBSS station is actually in VHT80 mode,
so it certainly isn't perfect, but at least it does VHT.  I did check that
the traffic was sniffable on channel 36 (where I configured LEDE to run).

I did not try to verify it closer than that.

Thanks,
Ben

>
> - Felix
>

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Lede-dev mailing list