Lines Matching refs:msband
294 mt76_init_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_init_sband() argument
299 struct ieee80211_supported_band *sband = &msband->sband; in mt76_init_sband()
311 msband->chan = devm_kcalloc(dev->dev, n_chan, sizeof(*msband->chan), in mt76_init_sband()
313 if (!msband->chan) in mt76_init_sband()
384 mt76_check_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_check_sband() argument
387 struct ieee80211_supported_band *sband = &msband->sband; in mt76_check_sband()
404 phy->chan_state = &msband->chan[0]; in mt76_check_sband()
865 struct mt76_sband *msband; in mt76_channel_state() local
869 msband = &phy->sband_2g; in mt76_channel_state()
871 msband = &phy->sband_6g; in mt76_channel_state()
873 msband = &phy->sband_5g; in mt76_channel_state()
875 idx = c - &msband->sband.channels[0]; in mt76_channel_state()
876 return &msband->chan[idx]; in mt76_channel_state()