Lines Matching refs:alpha2
202 .alpha2 = "99",
6736 static s32 brcmf_translate_country_code(struct brcmf_pub *drvr, char alpha2[2], in brcmf_translate_country_code()
6750 if ((alpha2[0] == ccreq->country_abbrev[0]) && in brcmf_translate_country_code()
6751 (alpha2[1] == ccreq->country_abbrev[1])) { in brcmf_translate_country_code()
6761 if ((cc->iso3166[0] == alpha2[0]) && in brcmf_translate_country_code()
6762 (cc->iso3166[1] == alpha2[1])) { in brcmf_translate_country_code()
6775 ccreq->country_abbrev[0] = alpha2[0]; in brcmf_translate_country_code()
6776 ccreq->country_abbrev[1] = alpha2[1]; in brcmf_translate_country_code()
6792 for (i = 0; i < sizeof(req->alpha2); i++) in brcmf_cfg80211_reg_notifier()
6793 if (req->alpha2[i] < 'A' || req->alpha2[i] > 'Z') { in brcmf_cfg80211_reg_notifier()
6795 req->alpha2[0], req->alpha2[1]); in brcmf_cfg80211_reg_notifier()
6800 req->alpha2[0], req->alpha2[1]); in brcmf_cfg80211_reg_notifier()
6808 err = brcmf_translate_country_code(ifp->drvr, req->alpha2, &ccreq); in brcmf_cfg80211_reg_notifier()