Searched refs:region_channel (Results 1 – 5 of 5) sorted by relevance
42 struct region_channel { struct308 struct region_channel region_channel[MAX_REGION_CHANNEL_NUM]; member310 struct region_channel universal_channel[MAX_REGION_CHANNEL_NUM];
220 static void lbs_generate_parsed_region_chan_11d(struct region_channel *region_chan, in lbs_generate_parsed_region_chan_11d()644 struct region_channel *region_chan; in lbs_create_dnld_countryinfo_11d()653 for (j = 0; j < ARRAY_SIZE(priv->region_channel); j++) { in lbs_create_dnld_countryinfo_11d()654 region_chan = &priv->region_channel[j]; in lbs_create_dnld_countryinfo_11d()667 if (j >= ARRAY_SIZE(priv->region_channel)) { in lbs_create_dnld_countryinfo_11d()
1549 memset(priv->region_channel, 0, sizeof(priv->region_channel)); in lbs_set_regiontable()1553 priv->region_channel[i].nrcfp = cfp_no; in lbs_set_regiontable()1554 priv->region_channel[i].CFP = cfp; in lbs_set_regiontable()1561 priv->region_channel[i].valid = 1; in lbs_set_regiontable()1562 priv->region_channel[i].region = region; in lbs_set_regiontable()1563 priv->region_channel[i].band = band; in lbs_set_regiontable()
63 struct region_channel *rc; in lbs_find_cfp_by_band_and_channel()66 for (j = 0; !cfp && (j < ARRAY_SIZE(priv->region_channel)); j++) { in lbs_find_cfp_by_band_and_channel()67 rc = &priv->region_channel[j]; in lbs_find_cfp_by_band_and_channel()104 struct region_channel *rc; in find_cfp_by_band_and_freq()107 for (j = 0; !cfp && (j < ARRAY_SIZE(priv->region_channel)); j++) { in find_cfp_by_band_and_freq()108 rc = &priv->region_channel[j]; in find_cfp_by_band_and_freq()604 && (j < ARRAY_SIZE(priv->region_channel)); j++) { in lbs_get_range()605 cfp = priv->region_channel[j].CFP; in lbs_get_range()607 && priv->region_channel[j].valid in lbs_get_range()609 && (i < priv->region_channel[j].nrcfp); i++) { in lbs_get_range()
147 struct region_channel *scanregion; in lbs_scan_create_channel_list()162 for (rgnidx = 0; rgnidx < ARRAY_SIZE(priv->region_channel); rgnidx++) { in lbs_scan_create_channel_list()174 if (!priv->region_channel[rgnidx].valid) in lbs_scan_create_channel_list()176 scanregion = &priv->region_channel[rgnidx]; in lbs_scan_create_channel_list()