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()
1004 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_get_rate() local
1005 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_get_rate()
1012 if (!msp->is_ht) in minstrel_ht_get_rate()
1013 return mac80211_minstrel.get_rate(priv, sta, &msp->legacy, txrc); in minstrel_ht_get_rate()
1096 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_update_caps() local
1097 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_update_caps()
1120 msp->is_ht = true; in minstrel_ht_update_caps()
1233 msp->is_ht = false; in minstrel_ht_update_caps()
1234 memset(&msp->legacy, 0, sizeof(msp->legacy)); in minstrel_ht_update_caps()
1235 msp->legacy.r = msp->ratelist; in minstrel_ht_update_caps()
1236 msp->legacy.sample_table = msp->sample_table; in minstrel_ht_update_caps()
1238 &msp->legacy); in minstrel_ht_update_caps()
1262 struct minstrel_ht_sta_priv *msp; in minstrel_ht_alloc_sta() local
1274 msp = kzalloc(sizeof(*msp), gfp); in minstrel_ht_alloc_sta()
1275 if (!msp) in minstrel_ht_alloc_sta()
1278 msp->ratelist = kzalloc(sizeof(struct minstrel_rate) * max_rates, gfp); in minstrel_ht_alloc_sta()
1279 if (!msp->ratelist) in minstrel_ht_alloc_sta()
1282 msp->sample_table = kmalloc(SAMPLE_COLUMNS * max_rates, gfp); in minstrel_ht_alloc_sta()
1283 if (!msp->sample_table) in minstrel_ht_alloc_sta()
1286 return msp; in minstrel_ht_alloc_sta()
1289 kfree(msp->ratelist); in minstrel_ht_alloc_sta()
1291 kfree(msp); in minstrel_ht_alloc_sta()
1298 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_free_sta() local
1300 kfree(msp->sample_table); in minstrel_ht_free_sta()
1301 kfree(msp->ratelist); in minstrel_ht_free_sta()
1302 kfree(msp); in minstrel_ht_free_sta()
1319 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_get_expected_throughput() local
1320 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_get_expected_throughput()
1323 if (!msp->is_ht) in minstrel_ht_get_expected_throughput()