On 2013-10-21 11:18 AM, Bastian Bittorf wrote:
> during debugging a problematic longshot i discovered, that
> /sys/kernel/debug/ieee80211/phy0/ath9k/chanbw
> 
> show 0x5 - but 'iw dev wlan0 info' shows:
> 
> Interface wlan0
>         ifindex 6
>         wdev 0x2
>         addr 00:15:6d:1c:6a:09
>         ssid bb
>         type IBSS
>         wiphy 0
>         channel 48 (5240 MHz), width: 20 MHz, center1: 5240 MHz
>                                ^^^^^^^^^^^^^
> 
> is there something wrong or do i read it wrong?
> (both involved nodes show the same). for completeness minstrel:
That's normal. Right now, channel bandwidth is applied via debugfs -
bypassing mac80211/cfg80211 entirely - so anything in mac80211 or above
will think that it's still running in 20 MHz, whereas the driver is
using 5 MHz.
The main reason for this is that the 5/10 MHz support code in mac80211
currently disables 802.11n and changes the rate calculation, which
breaks compatibility with other 5/10 MHz implementations.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to