Searched refs:qos_map (Results 1 – 7 of 7) sorted by relevance
/net/mac80211/ |
D | wme.c | 147 struct mac80211_qos_map *qos_map; in __ieee80211_select_queue() local 172 qos_map = rcu_dereference(sdata->qos_map); in __ieee80211_select_queue() 173 skb->priority = cfg80211_classify8021d(skb, qos_map ? in __ieee80211_select_queue() 174 &qos_map->qos_map : NULL); in __ieee80211_select_queue()
|
D | cfg.c | 3858 struct cfg80211_qos_map *qos_map) in ieee80211_set_qos_map() argument 3863 if (qos_map) { in ieee80211_set_qos_map() 3867 memcpy(&new_qos_map->qos_map, qos_map, sizeof(*qos_map)); in ieee80211_set_qos_map() 3873 old_qos_map = sdata_dereference(sdata->qos_map, sdata); in ieee80211_set_qos_map() 3874 rcu_assign_pointer(sdata->qos_map, new_qos_map); in ieee80211_set_qos_map()
|
D | ieee80211_i.h | 843 struct cfg80211_qos_map qos_map; member 945 struct mac80211_qos_map __rcu *qos_map; member
|
/net/wireless/ |
D | util.c | 837 struct cfg80211_qos_map *qos_map) in cfg80211_classify8021d() argument 889 if (qos_map) { in cfg80211_classify8021d() 892 for (i = 0; i < qos_map->num_des; i++) { in cfg80211_classify8021d() 893 if (tmp_dscp == qos_map->dscp_exception[i].dscp) { in cfg80211_classify8021d() 894 ret = qos_map->dscp_exception[i].up; in cfg80211_classify8021d() 900 if (tmp_dscp >= qos_map->up[i].low && in cfg80211_classify8021d() 901 tmp_dscp <= qos_map->up[i].high) { in cfg80211_classify8021d()
|
D | trace.h | 221 #define QOS_MAP_ASSIGN(qos_map) \ argument 223 if ((qos_map)) { \ 224 __entry->num_des = (qos_map)->num_des; \ 226 &(qos_map)->dscp_exception, \ 228 memcpy(__entry->up, &(qos_map)->up, \ 2337 struct cfg80211_qos_map *qos_map), 2338 TP_ARGS(wiphy, netdev, qos_map), 2347 QOS_MAP_ASSIGN(qos_map);
|
D | rdev-ops.h | 1101 struct cfg80211_qos_map *qos_map) in rdev_set_qos_map() argument 1106 trace_rdev_set_qos_map(&rdev->wiphy, dev, qos_map); in rdev_set_qos_map() 1107 ret = rdev->ops->set_qos_map(&rdev->wiphy, dev, qos_map); in rdev_set_qos_map()
|
D | nl80211.c | 15052 struct cfg80211_qos_map *qos_map = NULL; in nl80211_set_qos_map() local 15067 qos_map = kzalloc(sizeof(struct cfg80211_qos_map), GFP_KERNEL); in nl80211_set_qos_map() 15068 if (!qos_map) in nl80211_set_qos_map() 15075 memcpy(qos_map->dscp_exception, pos, des_len); in nl80211_set_qos_map() 15076 qos_map->num_des = num_des; in nl80211_set_qos_map() 15078 if (qos_map->dscp_exception[des].up > 7) { in nl80211_set_qos_map() 15079 kfree(qos_map); in nl80211_set_qos_map() 15085 memcpy(qos_map->up, pos, IEEE80211_QOS_MAP_LEN_MIN); in nl80211_set_qos_map() 15091 ret = rdev_set_qos_map(rdev, dev, qos_map); in nl80211_set_qos_map() 15094 kfree(qos_map); in nl80211_set_qos_map()
|