Home
last modified time | relevance | path

Searched refs:qos_map (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/net/mac80211/
Dwme.c147 struct mac80211_qos_map *qos_map; in __ieee80211_select_queue() local
171 qos_map = rcu_dereference(sdata->qos_map); in __ieee80211_select_queue()
172 skb->priority = cfg80211_classify8021d(skb, qos_map ? in __ieee80211_select_queue()
173 &qos_map->qos_map : NULL); in __ieee80211_select_queue()
Dcfg.c4111 struct cfg80211_qos_map *qos_map) in ieee80211_set_qos_map() argument
4116 if (qos_map) { in ieee80211_set_qos_map()
4120 memcpy(&new_qos_map->qos_map, qos_map, sizeof(*qos_map)); in ieee80211_set_qos_map()
4126 old_qos_map = sdata_dereference(sdata->qos_map, sdata); in ieee80211_set_qos_map()
4127 rcu_assign_pointer(sdata->qos_map, new_qos_map); in ieee80211_set_qos_map()
Dieee80211_i.h831 struct cfg80211_qos_map qos_map; member
1042 struct mac80211_qos_map __rcu *qos_map; member
/linux-6.1.9/net/wireless/
Dutil.c839 struct cfg80211_qos_map *qos_map) in cfg80211_classify8021d() argument
891 if (qos_map) { in cfg80211_classify8021d()
894 for (i = 0; i < qos_map->num_des; i++) { in cfg80211_classify8021d()
895 if (tmp_dscp == qos_map->dscp_exception[i].dscp) { in cfg80211_classify8021d()
896 ret = qos_map->dscp_exception[i].up; in cfg80211_classify8021d()
902 if (tmp_dscp >= qos_map->up[i].low && in cfg80211_classify8021d()
903 tmp_dscp <= qos_map->up[i].high) { in cfg80211_classify8021d()
Dtrace.h221 #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);
Drdev-ops.h1101 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()
Dnl80211.c15004 struct cfg80211_qos_map *qos_map = NULL; in nl80211_set_qos_map() local
15019 qos_map = kzalloc(sizeof(struct cfg80211_qos_map), GFP_KERNEL); in nl80211_set_qos_map()
15020 if (!qos_map) in nl80211_set_qos_map()
15027 memcpy(qos_map->dscp_exception, pos, des_len); in nl80211_set_qos_map()
15028 qos_map->num_des = num_des; in nl80211_set_qos_map()
15030 if (qos_map->dscp_exception[des].up > 7) { in nl80211_set_qos_map()
15031 kfree(qos_map); in nl80211_set_qos_map()
15037 memcpy(qos_map->up, pos, IEEE80211_QOS_MAP_LEN_MIN); in nl80211_set_qos_map()
15043 ret = rdev_set_qos_map(rdev, dev, qos_map); in nl80211_set_qos_map()
15046 kfree(qos_map); in nl80211_set_qos_map()
/linux-6.1.9/include/net/
Dcfg80211.h4552 struct cfg80211_qos_map *qos_map);
6219 struct cfg80211_qos_map *qos_map);