Lines Matching refs:freqband
53 struct freqband *freqband; /* current freqband */ member
143 if (iseq(name, "freqband") && mt->freqband == NULL && mt->netband != NULL) { in start_element()
163 if (iseq(name, "freqband") && mt->freqband == NULL) { in start_element()
164 mt->freqband = calloc(1, sizeof(struct freqband)); in start_element()
165 mt->freqband->id = strdup(id); in start_element()
167 LIST_INSERT_HEAD(&mt->rdp->freqbands, mt->freqband, next); in start_element()
250 if (iseq(name, "freqstart") && mt->freqband != NULL) { in end_element()
251 mt->freqband->freqStart = strtoul(p, NULL, 0); in end_element()
254 if (iseq(name, "freqend") && mt->freqband != NULL) { in end_element()
255 mt->freqband->freqEnd = strtoul(p, NULL, 0); in end_element()
258 if (iseq(name, "chanwidth") && mt->freqband != NULL) { in end_element()
259 mt->freqband->chanWidth = strtoul(p, NULL, 0); in end_element()
262 if (iseq(name, "chansep") && mt->freqband != NULL) { in end_element()
263 mt->freqband->chanSep = strtoul(p, NULL, 0); in end_element()
267 if (mt->freqband != NULL) in end_element()
268 mt->freqband->flags |= decode_flag(mt, p, len); in end_element()
326 if (iseq(name, "freqband") && mt->freqband != NULL) { in end_element()
329 mt->freqband = NULL; in end_element()
420 struct freqband *fp; in lib80211_regdomain_readconfig()
608 struct freqband *fp = LIST_FIRST(&rdp->freqbands); in lib80211_regdomain_cleanup()