Lines Matching refs:rd
61 struct ieee80211_regdomain *rd,
115 const struct ieee80211_regdomain *rd, const uint8_t bands[])
129 if (!(rd != NULL && rd->ecm))
167 if (rd != NULL)
168 ic->ic_regdomain = *rd;
259 const struct ieee80211_regdomain *rd = &ic->ic_regdomain;
275 if (rd->isocc[0] == '\0') {
277 rd->country);
280 ie->cc[0] = rd->isocc[0];
281 ie->cc[1] = rd->isocc[1];
289 ie->cc[2] = (rd->location == 'I' ? 'I' :
290 rd->location == 'O' ? 'O' : ' ');
363 if (reg->rd.location != 'I' && reg->rd.location != 'O' &&
364 reg->rd.location != ' ') {
366 "%s: invalid location 0x%x\n", __func__, reg->rd.location);
369 if (reg->rd.isocc[0] == '\0' || reg->rd.isocc[1] == '\0') {
372 reg->rd.isocc[0], reg->rd.isocc[1]);
417 error = ic->ic_setregdomain(ic, ®->rd,
443 memcpy(&ic->ic_regdomain, ®->rd, sizeof(reg->rd));