Searched refs:tx_tspec (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/net/mac80211/
H A Dmlme.c1670 struct ieee80211_sta_tx_tspec *tx_tspec = &ifmgd->tx_tspec[ac]; __ieee80211_sta_handle_tspec_ac_params() local
1674 if (tx_tspec->action == TX_TSPEC_ACTION_NONE && __ieee80211_sta_handle_tspec_ac_params()
1675 tx_tspec->admitted_time && __ieee80211_sta_handle_tspec_ac_params()
1676 time_after(now, tx_tspec->time_slice_start + HZ)) { __ieee80211_sta_handle_tspec_ac_params()
1677 tx_tspec->consumed_tx_time = 0; __ieee80211_sta_handle_tspec_ac_params()
1678 tx_tspec->time_slice_start = now; __ieee80211_sta_handle_tspec_ac_params()
1680 if (tx_tspec->downgraded) __ieee80211_sta_handle_tspec_ac_params()
1681 tx_tspec->action = __ieee80211_sta_handle_tspec_ac_params()
1685 switch (tx_tspec->action) { __ieee80211_sta_handle_tspec_ac_params()
1692 tx_tspec->action = TX_TSPEC_ACTION_NONE; __ieee80211_sta_handle_tspec_ac_params()
1693 tx_tspec->downgraded = false; __ieee80211_sta_handle_tspec_ac_params()
1697 if (time_after(now, tx_tspec->time_slice_start + HZ)) { __ieee80211_sta_handle_tspec_ac_params()
1698 tx_tspec->action = TX_TSPEC_ACTION_NONE; __ieee80211_sta_handle_tspec_ac_params()
1718 tx_tspec->action = TX_TSPEC_ACTION_NONE; __ieee80211_sta_handle_tspec_ac_params()
1721 tx_tspec->time_slice_start + HZ - now + 1); __ieee80211_sta_handle_tspec_ac_params()
1850 ifmgd->tx_tspec[ac].downgraded); ieee80211_sta_wmm_params()
1852 if (!ifmgd->tx_tspec[ac].downgraded && ieee80211_sta_wmm_params()
2127 memset(ifmgd->tx_tspec, 0, sizeof(ifmgd->tx_tspec)); ieee80211_set_disassoc()
2189 struct ieee80211_sta_tx_tspec *tx_tspec = &ifmgd->tx_tspec[ac]; ieee80211_sta_tx_wmm_ac_notify() local
2192 if (likely(!tx_tspec->admitted_time)) ieee80211_sta_tx_wmm_ac_notify()
2195 if (time_after(now, tx_tspec->time_slice_start + HZ)) { ieee80211_sta_tx_wmm_ac_notify()
2196 tx_tspec->consumed_tx_time = 0; ieee80211_sta_tx_wmm_ac_notify()
2197 tx_tspec->time_slice_start = now; ieee80211_sta_tx_wmm_ac_notify()
2199 if (tx_tspec->downgraded) { ieee80211_sta_tx_wmm_ac_notify()
2200 tx_tspec->action = TX_TSPEC_ACTION_STOP_DOWNGRADE; ieee80211_sta_tx_wmm_ac_notify()
2205 if (tx_tspec->downgraded) ieee80211_sta_tx_wmm_ac_notify()
2208 tx_tspec->consumed_tx_time += tx_time; ieee80211_sta_tx_wmm_ac_notify()
2210 if (tx_tspec->consumed_tx_time >= tx_tspec->admitted_time) { ieee80211_sta_tx_wmm_ac_notify()
2211 tx_tspec->downgraded = true; ieee80211_sta_tx_wmm_ac_notify()
2212 tx_tspec->action = TX_TSPEC_ACTION_DOWNGRADE; ieee80211_sta_tx_wmm_ac_notify()
H A Dwme.c95 if (ifmgd->tx_tspec[ac].admitted_time && ieee80211_downgrade_queue()
96 skb->priority == ifmgd->tx_tspec[ac].up) ieee80211_downgrade_queue()
H A Dcfg.c3747 if (ifmgd->tx_tspec[ac].admitted_time) ieee80211_add_tx_ts()
3751 ifmgd->tx_tspec[ac].admitted_time = 32 * admitted_time; ieee80211_add_tx_ts()
3752 ifmgd->tx_tspec[ac].tsid = tsid; ieee80211_add_tx_ts()
3753 ifmgd->tx_tspec[ac].up = up; ieee80211_add_tx_ts()
3768 struct ieee80211_sta_tx_tspec *tx_tspec = &ifmgd->tx_tspec[ac]; ieee80211_del_tx_ts() local
3771 if (!tx_tspec->admitted_time) ieee80211_del_tx_ts()
3774 if (tx_tspec->tsid != tsid) ieee80211_del_tx_ts()
3778 tx_tspec->up = -1; ieee80211_del_tx_ts()
3790 tx_tspec->action = TX_TSPEC_ACTION_STOP_DOWNGRADE; ieee80211_del_tx_ts()
3791 tx_tspec->downgraded = false; ieee80211_del_tx_ts()
3795 memset(tx_tspec, 0, sizeof(*tx_tspec)); ieee80211_del_tx_ts()
H A Dieee80211_i.h539 struct ieee80211_sta_tx_tspec tx_tspec[IEEE80211_NUM_ACS]; member in struct:ieee80211_if_managed

Completed in 282 milliseconds