Lines Matching refs:nr_subband
157 u8 nr_subband = 0; in generate_domain_info_11d() local
188 domaininfo->subband[nr_subband].firstchan = firstchan; in generate_domain_info_11d()
189 domaininfo->subband[nr_subband].nrchan = in generate_domain_info_11d()
191 domaininfo->subband[nr_subband].maxtxpwr = maxpwr; in generate_domain_info_11d()
192 nr_subband++; in generate_domain_info_11d()
200 domaininfo->subband[nr_subband].firstchan = firstchan; in generate_domain_info_11d()
201 domaininfo->subband[nr_subband].nrchan = nr_parsedchan; in generate_domain_info_11d()
202 domaininfo->subband[nr_subband].maxtxpwr = maxpwr; in generate_domain_info_11d()
203 nr_subband++; in generate_domain_info_11d()
205 domaininfo->nr_subband = nr_subband; in generate_domain_info_11d()
207 lbs_deb_11d("nr_subband=%x\n", domaininfo->nr_subband); in generate_domain_info_11d()
210 sizeof(struct ieeetypes_subbandset) * nr_subband); in generate_domain_info_11d()
311 u8 nr_subband, nrchan; in parse_domain_info_11d() local
352 nr_subband = (countryinfo->len - COUNTRY_CODE_LEN) / in parse_domain_info_11d()
355 for (j = 0, lastchan = 0; j < nr_subband; j++) { in parse_domain_info_11d()
506 u8 nr_subband = priv->domainreg.nr_subband; in lbs_cmd_802_11d_domain_info() local
510 lbs_deb_11d("nr_subband=%x\n", nr_subband); in lbs_cmd_802_11d_domain_info()
527 cpu_to_le16(nr_subband * sizeof(struct ieeetypes_subbandset) + in lbs_cmd_802_11d_domain_info()
530 if (nr_subband) { in lbs_cmd_802_11d_domain_info()
532 nr_subband * sizeof(struct ieeetypes_subbandset)); in lbs_cmd_802_11d_domain_info()
562 u8 nr_subband = 0; in lbs_ret_802_11d_domain_info() local
569 nr_subband = (le16_to_cpu(domain->header.len) - COUNTRY_CODE_LEN) / in lbs_ret_802_11d_domain_info()
572 lbs_deb_11d("domain info resp: nr_subband %d\n", nr_subband); in lbs_ret_802_11d_domain_info()
574 if (nr_subband > MRVDRV_MAX_SUBBAND_802_11D) { in lbs_ret_802_11d_domain_info()