Lines Matching refs:msp

702 	struct minstrel_ht_sta_priv *msp = priv_sta;  in minstrel_ht_tx_status()  local
703 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_tx_status()
710 if (!msp->is_ht) in minstrel_ht_tx_status()
712 &msp->legacy, info); in minstrel_ht_tx_status()
1010 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_get_rate() local
1011 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_get_rate()
1018 if (!msp->is_ht) in minstrel_ht_get_rate()
1019 return mac80211_minstrel.get_rate(priv, sta, &msp->legacy, txrc); in minstrel_ht_get_rate()
1102 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_update_caps() local
1103 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_update_caps()
1126 msp->is_ht = true; in minstrel_ht_update_caps()
1239 msp->is_ht = false; in minstrel_ht_update_caps()
1240 memset(&msp->legacy, 0, sizeof(msp->legacy)); in minstrel_ht_update_caps()
1241 msp->legacy.r = msp->ratelist; in minstrel_ht_update_caps()
1242 msp->legacy.sample_table = msp->sample_table; in minstrel_ht_update_caps()
1244 &msp->legacy); in minstrel_ht_update_caps()
1268 struct minstrel_ht_sta_priv *msp; in minstrel_ht_alloc_sta() local
1280 msp = kzalloc(sizeof(*msp), gfp); in minstrel_ht_alloc_sta()
1281 if (!msp) in minstrel_ht_alloc_sta()
1284 msp->ratelist = kzalloc(sizeof(struct minstrel_rate) * max_rates, gfp); in minstrel_ht_alloc_sta()
1285 if (!msp->ratelist) in minstrel_ht_alloc_sta()
1288 msp->sample_table = kmalloc(SAMPLE_COLUMNS * max_rates, gfp); in minstrel_ht_alloc_sta()
1289 if (!msp->sample_table) in minstrel_ht_alloc_sta()
1292 return msp; in minstrel_ht_alloc_sta()
1295 kfree(msp->ratelist); in minstrel_ht_alloc_sta()
1297 kfree(msp); in minstrel_ht_alloc_sta()
1304 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_free_sta() local
1306 kfree(msp->sample_table); in minstrel_ht_free_sta()
1307 kfree(msp->ratelist); in minstrel_ht_free_sta()
1308 kfree(msp); in minstrel_ht_free_sta()
1325 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_get_expected_throughput() local
1326 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_get_expected_throughput()
1329 if (!msp->is_ht) in minstrel_ht_get_expected_throughput()