• Home
  • Raw
  • Download

Lines Matching refs:ch_inf

256 	struct brcmu_chan ch_inf;  in chandef_to_chanspec()  local
261 ch_inf.chnum = ieee80211_frequency_to_channel(ch->center_freq1); in chandef_to_chanspec()
266 ch_inf.bw = BRCMU_CHAN_BW_20; in chandef_to_chanspec()
270 ch_inf.bw = BRCMU_CHAN_BW_40; in chandef_to_chanspec()
272 ch_inf.sb = BRCMU_CHAN_SB_U; in chandef_to_chanspec()
274 ch_inf.sb = BRCMU_CHAN_SB_L; in chandef_to_chanspec()
277 ch_inf.bw = BRCMU_CHAN_BW_80; in chandef_to_chanspec()
279 ch_inf.sb = BRCMU_CHAN_SB_LL; in chandef_to_chanspec()
281 ch_inf.sb = BRCMU_CHAN_SB_LU; in chandef_to_chanspec()
283 ch_inf.sb = BRCMU_CHAN_SB_UL; in chandef_to_chanspec()
285 ch_inf.sb = BRCMU_CHAN_SB_UU; in chandef_to_chanspec()
288 ch_inf.bw = BRCMU_CHAN_BW_160; in chandef_to_chanspec()
290 ch_inf.sb = BRCMU_CHAN_SB_LLL; in chandef_to_chanspec()
292 ch_inf.sb = BRCMU_CHAN_SB_LLU; in chandef_to_chanspec()
294 ch_inf.sb = BRCMU_CHAN_SB_LUL; in chandef_to_chanspec()
296 ch_inf.sb = BRCMU_CHAN_SB_LUU; in chandef_to_chanspec()
298 ch_inf.sb = BRCMU_CHAN_SB_ULL; in chandef_to_chanspec()
300 ch_inf.sb = BRCMU_CHAN_SB_ULU; in chandef_to_chanspec()
302 ch_inf.sb = BRCMU_CHAN_SB_UUL; in chandef_to_chanspec()
304 ch_inf.sb = BRCMU_CHAN_SB_UUU; in chandef_to_chanspec()
314 ch_inf.band = BRCMU_CHAN_BAND_2G; in chandef_to_chanspec()
317 ch_inf.band = BRCMU_CHAN_BAND_5G; in chandef_to_chanspec()
323 d11inf->encchspec(&ch_inf); in chandef_to_chanspec()
325 brcmf_dbg(TRACE, "chanspec: 0x%x\n", ch_inf.chspec); in chandef_to_chanspec()
326 return ch_inf.chspec; in chandef_to_chanspec()
332 struct brcmu_chan ch_inf; in channel_to_chanspec() local
334 ch_inf.chnum = ieee80211_frequency_to_channel(ch->center_freq); in channel_to_chanspec()
335 ch_inf.bw = BRCMU_CHAN_BW_20; in channel_to_chanspec()
336 d11inf->encchspec(&ch_inf); in channel_to_chanspec()
338 return ch_inf.chspec; in channel_to_chanspec()