0 Replies Latest reply on Jun 10, 2017 8:35 PM by manoj_1578136

    CRDA changes country code multiple times

    manoj_1578136

      In our custom board we are using BCM43455 and our BSP is based on kernel version 4.1. And we are using brcmfmac driver from 4.1 kernel with addtional patches(attached brcmfmac driver). The problem we are facing is whenever I initiated the wifi scan, the country code changes multiple times. Suppose the device is already connected to an access point, where the access point region domain is configured as IE, then if I initiated wifi scan, brcmfmac driver triggering CRDA to change country  code multiple times and finally settling to country code as IE. It makes device to deauthenticate from access point during scanning processs. Below is the example

       

      [   11.465447] brcmf_cfg80211_reg_notifier: enter: initiator=0, alpha=00

      [   11.471971] brcmf_cfg80211_reg_notifier: not a ISO3166 code

      [   12.249373] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)

      [   12.293547] brcmf_cfg80211_reg_notifier: enter: initiator=0, alpha=00

      [   12.323937] brcmf_cfg80211_reg_notifier: not a ISO3166 code

      [   12.329606] cfg80211: World regulatory domain updated:

      [   22.858172] brcmf_cfg80211_reg_notifier: enter: initiator=3, alpha=IE

      [   23.316470] cfg80211: Regulatory domain changed to country: IE

      [   26.631362] brcmf_cfg80211_reg_notifier: enter: initiator=1, alpha=US

      [   27.105863] cfg80211: Current regulatory domain intersected:

      [   29.202082] brcmf_cfg80211_reg_notifier: enter: initiator=0, alpha=00

      [   29.211139] brcmf_cfg80211_reg_notifier: not a ISO3166 code

      [   29.224552] cfg80211: World regulatory domain updated:

      [   29.446345] brcmf_cfg80211_reg_notifier: enter: initiator=1, alpha=US

      [   29.855189] cfg80211: Regulatory domain changed to country: US

      [   34.228796] brcmf_cfg80211_reg_notifier: enter: initiator=3, alpha=IE

      [   34.645157] cfg80211: Regulatory domain changed to country: IE

       

       

      I konw that driver from kernel 4.1 is not a stable release. Is there any patches available to overcome this issue.