Home
last modified time | relevance | path

Searched refs:alpha2 (Results 1 – 7 of 7) sorted by relevance

/net/wireless/
Dreg.c91 .alpha2[0] = '0',
92 .alpha2[1] = '0',
244 .alpha2 = "00",
367 bool is_world_regdom(const char *alpha2) in is_world_regdom() argument
369 if (!alpha2) in is_world_regdom()
371 return alpha2[0] == '0' && alpha2[1] == '0'; in is_world_regdom()
374 static bool is_alpha2_set(const char *alpha2) in is_alpha2_set() argument
376 if (!alpha2) in is_alpha2_set()
378 return alpha2[0] && alpha2[1]; in is_alpha2_set()
381 static bool is_unknown_alpha2(const char *alpha2) in is_unknown_alpha2() argument
[all …]
Dreg.h31 bool reg_is_valid_request(const char *alpha2);
32 bool is_world_regdom(const char *alpha2);
36 int regulatory_hint_user(const char *alpha2,
Dcore.c986 request.alpha2[0] = '9'; in wiphy_register()
987 request.alpha2[1] = '9'; in wiphy_register()
Dnl80211.c8379 if (nla_put_string(msg, NL80211_ATTR_REG_ALPHA2, regdom->alpha2) || in nl80211_put_regdom()
8643 char *alpha2; in nl80211_set_reg() local
8655 alpha2 = nla_data(info->attrs[NL80211_ATTR_REG_ALPHA2]); in nl80211_set_reg()
8668 if (!reg_is_valid_request(alpha2)) { in nl80211_set_reg()
8680 rd->alpha2[0] = alpha2[0]; in nl80211_set_reg()
8681 rd->alpha2[1] = alpha2[1]; in nl80211_set_reg()
17564 if (request->alpha2[0] == '0' && request->alpha2[1] == '0') { in nl80211_reg_change_event_fill()
17568 } else if (request->alpha2[0] == '9' && request->alpha2[1] == '9') { in nl80211_reg_change_event_fill()
17572 } else if ((request->alpha2[0] == '9' && request->alpha2[1] == '8') || in nl80211_reg_change_event_fill()
17581 request->alpha2)) in nl80211_reg_change_event_fill()
/net/ncsi/
Dncsi-pkt.h205 unsigned char alpha2; /* NCSI version alpha2 */ member
Dinternal.h112 char alpha2; /* NCSI version alpha2 */ member
Dncsi-rsp.c783 ncv->alpha2 = rsp->alpha2; in ncsi_rsp_handler_gvi()