Skip to contentSkip to conversation

Kernel warning in ath9k related to wpa_supplicant scanning

ath9k-devel Bryan Phillippe 4 participants 4 messages Oct 20, 2011 – Oct 30, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Thoughts on who's to blame and how to resolve?

Thanks,
--
-bp

Begin forwarded message:

Quoted 26 lines

From: "B. J."
Date: October 20, 2011 1:26:21 PM PDT
To: hostap at lists.shmoo.com
Subject: Kernel warning in ath9k related to wpa_supplicant scanning

This is with wpa_supplicant-0.7.3 and compat-wireless-2011-10-10:

...
nl80211: Event message available
nl80211: New scan results available
Received scan results (0 BSSes)
BSS: Start scan result update 6
New scan results available
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable network found
Setting scan request: 5 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x3 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
Starting AP scan for wildcard SSID
nl80211: Scan SSID - hexdump_ascii(len=0): [NULL]
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Event message available
nl80211: Scan trigger

Quoted 5 lines
------------[ cut here ]------------
WARNING: at /home/bp/P4/UTM-mainline/components/kernel/build/richland/ath9k/net/mac80211/rx.c:3002 ieee80211_rx+0xf4/0x9dc [mac80211]()

Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 93 (0x5d)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20111020/f1a7750c/attachment.htm

#2 lore raw
Quoted 2 lines · Bryan Phillippe

Thoughts on who's to blame and how to resolve?

its the driver, the rate is is taken as a HT rate,

 if (rx_stats->rs_rate & 0x80) {
                /* HT rate */
                rxs->flag |= RX_FLAG_HT;
                if (rx_stats->rs_flags & ATH9K_RX_2040)
                        rxs->flag |= RX_FLAG_40MHZ;
                if (rx_stats->rs_flags & ATH9K_RX_GI)
                        rxs->flag |= RX_FLAG_SHORT_GI;
                rxs->rate_idx = rx_stats->rs_rate & 0x7f;
                return 0;
        }

please provide lspci so that we can get the descriptor dump for rx-status. also please whether your consistently getting elaborating how to recreate the issue.
thanks.

Quoted 48 lines

Thanks,
--
-bp

Begin forwarded message:

From: "B. J."
Date: October 20, 2011 1:26:21 PM PDT
To: hostap at lists.shmoo.com
Subject: Kernel warning in ath9k related to wpa_supplicant scanning

This is with wpa_supplicant-0.7.3 and compat-wireless-2011-10-10:

...
nl80211: Event message available
nl80211: New scan results available
Received scan results (0 BSSes)
BSS: Start scan result update 6
New scan results available
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable network found
Setting scan request: 5 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x3 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
Starting AP scan for wildcard SSID
nl80211: Scan SSID - hexdump_ascii(len=0): [NULL]
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Event message available
nl80211: Scan trigger

------------[ cut here ]------------
WARNING: at

/home/bp/P4/UTM-mainline/components/kernel/build/richland/ath9k/net/mac80211/rx.c:3002 ieee80211_rx+0xf4/0x9dc [mac80211]()
Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 93 (0x5d)

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 1 line
shafi
#3 lore raw

[ath9k-devel] iwpriv and ath9k driver

Hi,

I have a recent (daily) from compat-wireless and have the (ath9k AR9160) driver working fine.

I wanted to play with private extensions, if any - with iwpriv and see "No private ioctls" for the wlan0 interface.

Is this expected or should I be using some compile time flags to enable visibility of private extensions to iwpriv for the ath9k driver.

Thanks
-J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20111025/8b789293/attachment.htm

#4 lore raw

[ath9k-devel] iwpriv and ath9k driver

I am using iwpriv (Private IOCTL's). You have to modify cfg80211 (should be under net/wireless). I put my iwpriv's in the wext-compat.c file. You have to do this because ath9k uses mac80211 API and cfg80211 API.

-Tex

Quoted 11 lines · just login

Hi,

I have a recent (daily) from compat-wireless and have the (ath9k AR9160) driver working fine.

I wanted to play with private extensions, if any - with iwpriv and see "No private ioctls" for the wlan0 interface.

Is this expected or should I be using some compile time flags to enable visibility of private extensions to iwpriv for the ath9k driver.

Quoted 8 lines

Thanks
-J

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20111030/e9f2b7ca/attachment.htm