* regulatory.db file for ath10k
@ 2017-12-13 6:32 KAVITA MATHUR
2017-12-13 7:54 ` Manikanta Pubbisetty
0 siblings, 1 reply; 5+ messages in thread
From: KAVITA MATHUR @ 2017-12-13 6:32 UTC (permalink / raw)
To: ath10k
hi,
wifi interface is not up with ath10k driver due to missing regulatory.db.I have taken
ath10k latest driver code from backports and ath10k git on 12 Dec.
Loading modules backported from Linux version v3.18-239930-g135da6d
Backport generated by backports.git v4.14-rc2-1-35-g3d13478
ath10k_pci 0002:03:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
cfg80211: failed to load regulatory.db
ath10k_pci 0002:03:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
ath10k_pci 0002:03:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
ath10k_pci 0002:03:00.0: firmware ver 10.2.4.70.66 api 5 features
no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c2dd2ad5
ath10k_pci 0002:03:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
ath10k_pci 0002:03:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
wifi
root@CDOT:/# IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
device wlan0 entered promiscuous mode
device wlan0 left promiscuous mode
br-lan: port 2(wlan0) entered disabled state
How to generate regulatory.db file or is it available to use it directly? Please help me
to fix it.
Thanks & Regards,
कविता माथुर Kavita Mathur
वरिष्ठ अनुसंधान अभियंता Senior Research Engineer
सी-डॉट C-DOT
इलैक्ट्रॉनिक्स सिटी फेज़ I Electronics City Phase I
होसूर रोड, बेंगलूरु Hosur Road, Bengaluru – 560100
फोन Ph 080-28529896
Disclaimer:
----------
This email and any files transmitted with it
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: regulatory.db file for ath10k
2017-12-13 6:32 regulatory.db file for ath10k KAVITA MATHUR
@ 2017-12-13 7:54 ` Manikanta Pubbisetty
2017-12-13 8:14 ` KAVITA MATHUR
0 siblings, 1 reply; 5+ messages in thread
From: Manikanta Pubbisetty @ 2017-12-13 7:54 UTC (permalink / raw)
To: KAVITA MATHUR, ath10k@lists.infradead.org; +Cc: linux-wireless@vger.kernel.org
Please CC linux wireless when posting queries on cfg/mac80211.
At least, I have not had any issues in interface bring up after the latest regulatory.db change, I have tested it with vanilla ath.git and it worked even without regulatory.db file.
If you may want to refer, Johannes submitted a patch[1] for converting db.txt to firmware file format.
[1] https://patchwork.kernel.org/patch/9992477/
mkp
>-----Original Message-----
>From: ath10k [mailto:ath10k-bounces@lists.infradead.org] On Behalf Of
>KAVITA MATHUR
>Sent: Wednesday, December 13, 2017 12:02 PM
>To: ath10k@lists.infradead.org
>Subject: regulatory.db file for ath10k
>
>hi,
>
>wifi interface is not up with ath10k driver due to missing regulatory.db.I have
>taken ath10k latest driver code from backports and ath10k git on 12 Dec.
>
>
>
>Loading modules backported from Linux version v3.18-239930-g135da6d
>Backport generated by backports.git v4.14-rc2-1-35-g3d13478 ath10k_pci
>0002:03:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
>cfg80211: failed to load regulatory.db
>ath10k_pci 0002:03:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff
>sub 0000:0000 ath10k_pci 0002:03:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs
>0 testmode 0 ath10k_pci 0002:03:00.0: firmware ver 10.2.4.70.66 api 5 features
>no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c2dd2ad5 ath10k_pci
>0002:03:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08 ath10k_pci
>0002:03:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto
>1
>
>wifi
>root@CDOT:/# IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready device
>wlan0 entered promiscuous mode device wlan0 left promiscuous mode
>br-lan: port 2(wlan0) entered disabled state
>
>How to generate regulatory.db file or is it available to use it directly? Please
>help me to fix it.
>
>
>
>
>
>
>
>
>Thanks & Regards,
>कविता माथुर Kavita Mathur
>वरिष्ठ अनुसंधान अभियंता Senior Research Engineer
>सी-डॉट C-DOT
>इलैक्ट्रॉनिक्स सिटी फेज़ I Electronics City Phase I
>होसूर रोड, बेंगलूरु Hosur Road, Bengaluru – 560100
>फोन Ph 080-28529896
>Disclaimer:
>----------
>This email and any files transmitted with it
>
>
>_______________________________________________
>ath10k mailing list
>ath10k@lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: regulatory.db file for ath10k
2017-12-13 7:54 ` Manikanta Pubbisetty
@ 2017-12-13 8:14 ` KAVITA MATHUR
2017-12-14 7:11 ` Manikanta Pubbisetty
2017-12-14 12:52 ` Kalle Valo
0 siblings, 2 replies; 5+ messages in thread
From: KAVITA MATHUR @ 2017-12-13 8:14 UTC (permalink / raw)
To: Manikanta Pubbisetty, ath10k@lists.infradead.org
Cc: linux-wireless@vger.kernel.org
Thankyou so much for this information.
I do not want to use regulatory.db. Can you please share your ath10k build
configuration? I may be missing something in configuration.
Thanks & Regards,
Kavita
On Wed, 13 Dec 2017 07:54:00 +0000, Manikanta Pubbisetty wrote
> Please CC linux wireless when posting queries on cfg/mac80211.
>
> At least, I have not had any issues in interface bring up after the latest
> regulatory.db change, I have tested it with vanilla ath.git and it worked even
> without regulatory.db file. If you may want to refer, Johannes submitted a
> patch[1] for converting db.txt to firmware file format.
>
> [1] https://patchwork.kernel.org/patch/9992477/
>
> mkp
>
> >-----Original Message-----
> >From: ath10k [mailto:ath10k-bounces@lists.infradead.org] On Behalf Of
> >KAVITA MATHUR
> >Sent: Wednesday, December 13, 2017 12:02 PM
> >To: ath10k@lists.infradead.org
> >Subject: regulatory.db file for ath10k
> >
> >hi,
> >
> >wifi interface is not up with ath10k driver due to missing regulatory.db.I have
> >taken ath10k latest driver code from backports and ath10k git on 12 Dec.
> >
> >
> >
> >Loading modules backported from Linux version v3.18-239930-g135da6d
> >Backport generated by backports.git v4.14-rc2-1-35-g3d13478 ath10k_pci
> >0002:03:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
> >cfg80211: failed to load regulatory.db
> >ath10k_pci 0002:03:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff
> >sub 0000:0000 ath10k_pci 0002:03:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs
> >0 testmode 0 ath10k_pci 0002:03:00.0: firmware ver 10.2.4.70.66 api 5 features
> >no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c2dd2ad5 ath10k_pci
> >0002:03:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08 ath10k_pci
> >0002:03:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto
> >1
> >
> >wifi
> >root@CDOT:/# IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready device
> >wlan0 entered promiscuous mode device wlan0 left promiscuous mode
> >br-lan: port 2(wlan0) entered disabled state
> >
> >How to generate regulatory.db file or is it available to use it directly? Please
> >help me to fix it.
> >
> >
> >
> >
> >
> >
> >
> >
> >Thanks & Regards,
> >कविता माथुर Kavita Mathur
> >वरिष्ठ अनुसंधान अभियंता Senior Research Engineer
> >सी-डॉट C-DOT
> >इलैक्ट्रॉनिक्स सिटी फेज़ I Electronics City Phase I
> >होसूर रोड, बेंगलूरु Hosur Road, Bengaluru – 560100
> >फोन Ph 080-28529896
> >Disclaimer:
> >----------
> >This email and any files transmitted with it
> >
> >
> >_______________________________________________
> >ath10k mailing list
> >ath10k@lists.infradead.org
> >http://lists.infradead.org/mailman/listinfo/ath10k
Thanks & Regards,
कविता माथुर Kavita Mathur
वरिष्ठ अनुसंधान अभियंता Senior Research Engineer
सी-डॉट C-DOT
इलैक्ट्रॉनिक्स सिटी फेज़ I Electronics City Phase I
होसूर रोड, बेंगलूरु Hosur Road, Bengaluru – 560100
फोन Ph 080-28529896
Disclaimer:
----------
This email and any files transmitted with it
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: regulatory.db file for ath10k
2017-12-13 8:14 ` KAVITA MATHUR
@ 2017-12-14 7:11 ` Manikanta Pubbisetty
2017-12-14 12:52 ` Kalle Valo
1 sibling, 0 replies; 5+ messages in thread
From: Manikanta Pubbisetty @ 2017-12-14 7:11 UTC (permalink / raw)
To: KAVITA MATHUR, ath10k@lists.infradead.org; +Cc: linux-wireless@vger.kernel.org
There is no special config, but anyway here is the config(only wireless) that I have used,
CONFIG_WIRELESS=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not set
CONFIG_CFG80211_CRDA_SUPPORT=y
# CONFIG_CFG80211_WEXT is not set
# CONFIG_LIB80211 is not set
CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_MINSTREL_HT=y
# CONFIG_MAC80211_RC_MINSTREL_VHT is not set
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
# CONFIG_MAC80211_MESH is not set
CONFIG_MAC80211_LEDS=y
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_MESSAGE_TRACING is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
CONFIG_ATH10K=m
CONFIG_ATH10K_PCI=m
CONFIG_ATH10K_USB=m
CONFIG_ATH10K_DEBUG=y
CONFIG_ATH10K_DEBUGFS=y
CONFIG_ATH10K_TRACING=y
>-----Original Message-----
>From: ath10k [mailto:ath10k-bounces@lists.infradead.org] On Behalf Of
>KAVITA MATHUR
>Sent: Wednesday, December 13, 2017 1:45 PM
>To: Manikanta Pubbisetty <mpubbise@qti.qualcomm.com>;
>ath10k@lists.infradead.org
>Cc: linux-wireless@vger.kernel.org
>Subject: RE: regulatory.db file for ath10k
>
>Thankyou so much for this information.
>
>I do not want to use regulatory.db. Can you please share your ath10k build
>configuration? I may be missing something in configuration.
>
>Thanks & Regards,
>Kavita
>
>
>On Wed, 13 Dec 2017 07:54:00 +0000, Manikanta Pubbisetty wrote
>> Please CC linux wireless when posting queries on cfg/mac80211.
>>
>> At least, I have not had any issues in interface bring up after the
>> latest regulatory.db change, I have tested it with vanilla ath.git and
>> it worked even without regulatory.db file. If you may want to refer,
>> Johannes submitted a patch[1] for converting db.txt to firmware file format.
>>
>> [1] https://patchwork.kernel.org/patch/9992477/
>>
>> mkp
>>
>> >-----Original Message-----
>> >From: ath10k [mailto:ath10k-bounces@lists.infradead.org] On Behalf Of
>> >KAVITA MATHUR
>> >Sent: Wednesday, December 13, 2017 12:02 PM
>> >To: ath10k@lists.infradead.org
>> >Subject: regulatory.db file for ath10k
>> >
>> >hi,
>> >
>> >wifi interface is not up with ath10k driver due to missing
>> >regulatory.db.I have taken ath10k latest driver code from backports and
>ath10k git on 12 Dec.
>> >
>> >
>> >
>> >Loading modules backported from Linux version v3.18-239930-g135da6d
>> >Backport generated by backports.git v4.14-rc2-1-35-g3d13478
>> >ath10k_pci
>> >0002:03:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
>> >cfg80211: failed to load regulatory.db ath10k_pci 0002:03:00.0:
>> >qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
>> >ath10k_pci 0002:03:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs
>> >0 testmode 0 ath10k_pci 0002:03:00.0: firmware ver 10.2.4.70.66 api 5
>> >features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c2dd2ad5
>> >ath10k_pci
>> >0002:03:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08 ath10k_pci
>> >0002:03:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0
>> >hwcrypto
>> >1
>> >
>> >wifi
>> >root@CDOT:/# IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
>> >device
>> >wlan0 entered promiscuous mode device wlan0 left promiscuous mode
>> >br-lan: port 2(wlan0) entered disabled state
>> >
>> >How to generate regulatory.db file or is it available to use it
>> >directly? Please help me to fix it.
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >Thanks & Regards,
>> >कविता माथुर Kavita Mathur
>> >वरिष्ठ अनुसंधान अभियंता Senior Research Engineer
>> >सी-डॉट C-DOT
>> >इलैक्ट्रॉनिक्स सिटी फेज़ I Electronics City Phase I
>> >होसूर रोड, बेंगलूरु Hosur Road, Bengaluru – 560100
>> >फोन Ph 080-28529896
>> >Disclaimer:
>> >----------
>> >This email and any files transmitted with it
>> >
>> >
>> >_______________________________________________
>> >ath10k mailing list
>> >ath10k@lists.infradead.org
>> >http://lists.infradead.org/mailman/listinfo/ath10k
>
>
>Thanks & Regards,
>कविता माथुर Kavita Mathur
>वरिष्ठ अनुसंधान अभियंता Senior Research Engineer
>सी-डॉट C-DOT
>इलैक्ट्रॉनिक्स सिटी फेज़ I Electronics City Phase I
>होसूर रोड, बेंगलूरु Hosur Road, Bengaluru – 560100
>फोन Ph 080-28529896
>Disclaimer:
>----------
>This email and any files transmitted with it
>
>
>_______________________________________________
>ath10k mailing list
>ath10k@lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: regulatory.db file for ath10k
2017-12-13 8:14 ` KAVITA MATHUR
2017-12-14 7:11 ` Manikanta Pubbisetty
@ 2017-12-14 12:52 ` Kalle Valo
1 sibling, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2017-12-14 12:52 UTC (permalink / raw)
To: KAVITA MATHUR
Cc: linux-wireless@vger.kernel.org, Manikanta Pubbisetty,
ath10k@lists.infradead.org
(please don't top post)
"KAVITA MATHUR" <kavitam@cdot.in> writes:
> I do not want to use regulatory.db. Can you please share your ath10k build
> configuration? I may be missing something in configuration.
If you don't want to use regulatory.db you can just ignore the warning
and continue to use CRDA as before.
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-12-14 12:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-13 6:32 regulatory.db file for ath10k KAVITA MATHUR
2017-12-13 7:54 ` Manikanta Pubbisetty
2017-12-13 8:14 ` KAVITA MATHUR
2017-12-14 7:11 ` Manikanta Pubbisetty
2017-12-14 12:52 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox