Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
  • Andrew Dodd's avatar
    2e3d158d
    wifi: Allow configuration of country code for wifi · 2e3d158d
    Andrew Dodd authored
    Wifi country code handling is a nightmare - Most retail devices
    have region customization in /system for each country a device
    is shipped to.
    
    This doesn't work very well for a firmware like Cyanogenmod,
    where we try to support all target countries with one firmware
    package.  For whatever reason, with newer Broadcom drivers/
    firmware blobs, the old trick of using a universal region code
    (ccode=ALL in nvram_net.txt) does not seem to work.  Who knows
    what the deal is for other wifi chipsets.
    
    The good thing is that wpa_supplicant has a standardized
    cross-chipset method for setting the region code, and we
    use that here.
    
    Cherry-Pick: https://review.cyanogenmod.org/#/c/119667/
    
    JIRA: CML-118
    
    Change-Id: Ia9f5133f61f56d89ccb290e37a393f5de507e1cf
    2e3d158d
    wifi: Allow configuration of country code for wifi
    Andrew Dodd authored
    Wifi country code handling is a nightmare - Most retail devices
    have region customization in /system for each country a device
    is shipped to.
    
    This doesn't work very well for a firmware like Cyanogenmod,
    where we try to support all target countries with one firmware
    package.  For whatever reason, with newer Broadcom drivers/
    firmware blobs, the old trick of using a universal region code
    (ccode=ALL in nvram_net.txt) does not seem to work.  Who knows
    what the deal is for other wifi chipsets.
    
    The good thing is that wpa_supplicant has a standardized
    cross-chipset method for setting the region code, and we
    use that here.
    
    Cherry-Pick: https://review.cyanogenmod.org/#/c/119667/
    
    JIRA: CML-118
    
    Change-Id: Ia9f5133f61f56d89ccb290e37a393f5de507e1cf
Loading