Skip to contentSkip to conversation

Issues with Compex WLE900VX in 80211AC mode

DISCUSSION Michal Kazior 3 participants 8 messages Jan 28, 2016 – Feb 1, 2016 5 messages not in the archive Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore

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

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

#2 lore raw
Quoted 23 lines · B R Manjula

Hi,
We are trying to bring up freescale T1024RDB with WLE900VX 7AA, in 80211ac 5GHz AP
and STA mode.

->We are running Linux 3.12 Kernel, with backports-4.2.6-1 for ath10k support.

->We downloaded firmware from the following link for QCA988x hw ver 2.0:
https://wireless.wiki.kernel.org/en/users/drivers/ath10k/firmware

->Then we are facing the below issue.

whenever we run hostapd for 80211ac mode(channel 36, 40,44), it is giving below error.

-------------------------------------------------------------------
#ath10k_pci 0000:01:00.0: no channel configured; ignoring frame(s)!
-------------------------------------------------------------------

The corresponding minicom log also attached with mail.

The phy info is as show below.
-----------------------------------------------------------------------------------
Saying no support for 5GHz frequency

Quoted 5 lines

Frequencies:
* 5180 MHz [36] (30.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (30.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (30.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (30.0 dBm) (passive scanning, no IBSS)

[snip]

Hi,

This seems to be a common problem these days, see:

http://lists.infradead.org/pipermail/ath10k/2016-January/006723.html

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#3 lore raw
Quoted 3 lines · Michal Kazior

This seems to be a common problem these days, see:

http://lists.infradead.org/pipermail/ath10k/2016-January/006723.html

I didn't have a chance to properly work out what is going on there, but the suggested patch did not allow me to select an ac channel, returning the same error seen in the attachment.

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#4 lore raw
Quoted 9 lines · Jeroen Roovers
Quoted 3 lines · Michal Kazior

This seems to be a common problem these days, see:

http://lists.infradead.org/pipermail/ath10k/2016-January/006723.html

I didn't have a chance to properly work out what is going on there, but the suggested patch did not allow me to select an ac channel, returning the same error seen in the attachment.

Did you specify an appropriate module param? The patch alone doesn't change anything.

Do you use CRDA on your system or do you have db.txt compiled in your kernel? Perhaps your system level regulatory is still at world roaming so all 5GHz channels are locked out.

If you use latest iw tool the iw reg get will show you both system level and device level regulatory.

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

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

#6 lore raw
Quoted 8 lines · B R Manjula

Thanks a lot Mr.Michel and Mr.Jeroen for the inputs.

please find attached log file of iw list and iw reg get commands in our test setup, also find the attached configuration file wlan0_ac.cnf
Also suggest us if any changes required. (like operating channel, vht_cap & etc)

Regards,
Manjula

[dozen of empty lines]

Please try to avoid sending badly formatted messages :)

From the logs you provided it looks like you're stuck at world regulatory (00). This means that you have an empty db.txt file (if you compiled kernel with built-in regulatory) or your system doesn't have CRDA binary and/or regulatory database for it to use. You might be missing udev/hotplug to handle the CRDA request as well I think.

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

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

#8 lore raw
Quoted 3 lines · Manjula B R

Hello Michal,

We added db.txt with country codes instead of CRDA to speedup.

Did you do that in the kernel 3.12 source tree or backports? Are you sure you have db.txt compiled in? The hostapd logs suggest otherwise. It looks like regulatory change times out suggesting that either there's a deadlock in cfg80211 or it expects CRDA binary to handle the request (but there's none to do so).

Can you post entire kernel log (dmesg), please?

Quoted 15 lines

wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE Previous country code 00, new country code US
Continue interface setup after channel list update ctrl_iface not configured!
RTM_NEWLINK: ifi_index=13 ifname=wlan0 operstate=33554432 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=13 ifname=wlan0 operstate=33554432 linkmode=0 master=10 ifi_family=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=13 ifname=wlan0 master=10 operstate=33554432 ifi_family=7 ifi_flags=0x1003 ([UP])
nl80211: Add ifindex 10 for bridge br0
nl80211: Add own interface ifindex 10
nl80211: ifindex 10 already in the list
Channel list update timeout - try to continue anyway
nl80211: Regulatory information - country=00

Quoted 8 lines

nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm

See? It stays at country 00 with entire 5GHz still locked out.

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

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

#10 lore raw

+ adding back the list

Please do not strip the mailing list for Cc.

Quoted 3 lines · B R Manjula

Hello,
Thanks for your support.
Please find attached dmesg log file attached for further analysis.

[ 4423.946268] cfg80211: Timeout while waiting for CRDA to reply,
restoring regulatory settings
[ 4423.946274] cfg80211: Restoring regulatory settings
[ 4423.946277] cfg80211: Kicking the queue
[ 4427.098262] cfg80211: Timeout while waiting for CRDA to reply,
restoring regulatory settings
[ 4427.098267] cfg80211: Restoring regulatory settings
[ 4427.098270] cfg80211: Kicking the queue

You clearly have not compiled cfg80211 with db.txt built-in. It's compiled to use CRDA which your system is missing (hence the timeout message).

You either need to:
- actually compile backports with db.txt built-in
- fix CRDA (install the binary, database and make sure udev/hotplug is set up)

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#11 lore raw

Hello Michal,

We will try it out on Monday and get back to you.

Thanks and regards,
manjula

On Fri, 29 Jan 2016 15:38:50 +0100, Michal Kazior wrote

Quoted 26 lines

+ adding back the list

Please do not strip the mailing list for Cc.

Quoted 3 lines · B R Manjula

Hello,
Thanks for your support.
Please find attached dmesg log file attached for further analysis.

[ 4423.946268] cfg80211: Timeout while waiting for CRDA to reply,
restoring regulatory settings
[ 4423.946274] cfg80211: Restoring regulatory settings
[ 4423.946277] cfg80211: Kicking the queue
[ 4427.098262] cfg80211: Timeout while waiting for CRDA to reply,
restoring regulatory settings
[ 4427.098267] cfg80211: Restoring regulatory settings
[ 4427.098270] cfg80211: Kicking the queue

You clearly have not compiled cfg80211 with db.txt built-in. It's compiled to use CRDA which your system is missing (hence the timeout message).

You either need to:
- actually compile backports with db.txt built-in
- fix CRDA (install the binary, database and make sure udev/hotplug is set up)

Quoted 6 lines

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.  If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. The sender does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail t

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#12 lore raw
In reply to Michal Kazior

Hi Michal,

CPTCFG_CFG80211_INTERNAL_REGDB was not enabled in backports though we had added db.txt. it started working. thanks...

regards,
manjula

On Fri, 29 Jan 2016 15:38:50 +0100, Michal Kazior wrote

Quoted 26 lines

+ adding back the list

Please do not strip the mailing list for Cc.

Quoted 3 lines · B R Manjula

Hello,
Thanks for your support.
Please find attached dmesg log file attached for further analysis.

[ 4423.946268] cfg80211: Timeout while waiting for CRDA to reply,
restoring regulatory settings
[ 4423.946274] cfg80211: Restoring regulatory settings
[ 4423.946277] cfg80211: Kicking the queue
[ 4427.098262] cfg80211: Timeout while waiting for CRDA to reply,
restoring regulatory settings
[ 4427.098267] cfg80211: Restoring regulatory settings
[ 4427.098270] cfg80211: Kicking the queue

You clearly have not compiled cfg80211 with db.txt built-in. It's compiled to use CRDA which your system is missing (hence the timeout message).

You either need to:
- actually compile backports with db.txt built-in
- fix CRDA (install the binary, database and make sure udev/hotplug is set up)

Quoted 6 lines

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.  If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. The sender does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail t

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k