regulatory.db file for ath10k

Manikanta Pubbisetty mpubbise at qti.qualcomm.com
Wed Dec 13 23:11:42 PST 2017


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 at lists.infradead.org] On Behalf Of
>KAVITA MATHUR
>Sent: Wednesday, December 13, 2017 1:45 PM
>To: Manikanta Pubbisetty <mpubbise at qti.qualcomm.com>;
>ath10k at lists.infradead.org
>Cc: linux-wireless at 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 at lists.infradead.org] On Behalf Of
>> >KAVITA MATHUR
>> >Sent: Wednesday, December 13, 2017 12:02 PM
>> >To: ath10k at 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 at 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 at 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 at lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/ath10k


More information about the ath10k mailing list