Lines Matching refs:msp
890 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_tx_status() local
891 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_tx_status()
900 if (!msp->is_ht) in minstrel_ht_tx_status()
902 &msp->legacy, st); in minstrel_ht_tx_status()
1299 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_get_rate() local
1300 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_get_rate()
1304 if (!msp->is_ht) in minstrel_ht_get_rate()
1305 return mac80211_minstrel.get_rate(priv, sta, &msp->legacy, txrc); in minstrel_ht_get_rate()
1392 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_update_caps() local
1393 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_update_caps()
1415 msp->is_ht = true; in minstrel_ht_update_caps()
1535 msp->is_ht = false; in minstrel_ht_update_caps()
1536 memset(&msp->legacy, 0, sizeof(msp->legacy)); in minstrel_ht_update_caps()
1537 msp->legacy.r = msp->ratelist; in minstrel_ht_update_caps()
1538 msp->legacy.sample_table = msp->sample_table; in minstrel_ht_update_caps()
1540 &msp->legacy); in minstrel_ht_update_caps()
1564 struct minstrel_ht_sta_priv *msp; in minstrel_ht_alloc_sta() local
1576 msp = kzalloc(sizeof(*msp), gfp); in minstrel_ht_alloc_sta()
1577 if (!msp) in minstrel_ht_alloc_sta()
1580 msp->ratelist = kcalloc(max_rates, sizeof(struct minstrel_rate), gfp); in minstrel_ht_alloc_sta()
1581 if (!msp->ratelist) in minstrel_ht_alloc_sta()
1584 msp->sample_table = kmalloc_array(max_rates, SAMPLE_COLUMNS, gfp); in minstrel_ht_alloc_sta()
1585 if (!msp->sample_table) in minstrel_ht_alloc_sta()
1588 return msp; in minstrel_ht_alloc_sta()
1591 kfree(msp->ratelist); in minstrel_ht_alloc_sta()
1593 kfree(msp); in minstrel_ht_alloc_sta()
1600 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_free_sta() local
1602 kfree(msp->sample_table); in minstrel_ht_free_sta()
1603 kfree(msp->ratelist); in minstrel_ht_free_sta()
1604 kfree(msp); in minstrel_ht_free_sta()
1706 struct minstrel_ht_sta_priv *msp = priv_sta; in minstrel_ht_get_expected_throughput() local
1707 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_get_expected_throughput()
1710 if (!msp->is_ht) in minstrel_ht_get_expected_throughput()