Hans de Goede <hdegoede@xxxxxxxxxx> writes: > In some cases the EFI-var stored nvram contains "ccode=ALL", "ccode=XV" > or "ccode=XT", to specify "worldwide" compatible settings, but these > ccode-s do not work properly. "ccode=ALL" causes channels 12 and 13 to > not be available, "ccode=XV" / "ccode=XT" may cause all 5GHz channels > to not be available. > > ccode="ALL" and ccode="XV" where already being replaced with ccode="X2" > with a bit of special handling for nvram settings coming from an EFI > variable. Extend this handling to also deal with nvram settings from > EFI variables which contain "ccode=XT", which has similar issues to > "ccode=XV". > > This fixes 5GHz wifi not working on the HP ElitePad 1000 G2. > > This was also tested on a Lenovo Thinkpad 8 tablet which also uses > "ccode=XT" and this causes no adverse effects there. > > Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> To me worldwide compatible settings mean that channels 12 and 13 should be disabled, so I'm quite hesitant about this patch. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches