Home
last modified time | relevance | path

Searched refs:qos_map (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-6.6/net/mac80211/
H A Dwme.c151 struct mac80211_qos_map *qos_map; in ieee80211_select_queue() local
179 qos_map = rcu_dereference(sdata->qos_map); in ieee80211_select_queue()
180 skb->priority = cfg80211_classify8021d(skb, qos_map ? in ieee80211_select_queue()
181 &qos_map->qos_map : NULL); in ieee80211_select_queue()
H A Dcfg.c4265 struct cfg80211_qos_map *qos_map) in ieee80211_set_qos_map()
4270 if (qos_map) { in ieee80211_set_qos_map()
4274 memcpy(&new_qos_map->qos_map, qos_map, sizeof(*qos_map)); in ieee80211_set_qos_map()
4276 /* A NULL qos_map was passed to disable QoS mapping */ in ieee80211_set_qos_map()
4280 old_qos_map = sdata_dereference(sdata->qos_map, sdata); in ieee80211_set_qos_map()
4281 rcu_assign_pointer(sdata->qos_map, new_qos_map); in ieee80211_set_qos_map()
4263 ieee80211_set_qos_map(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_qos_map *qos_map) ieee80211_set_qos_map() argument
H A Dieee80211_i.h847 struct cfg80211_qos_map qos_map; member
1065 struct mac80211_qos_map __rcu *qos_map; member
/kernel/linux/linux-5.10/net/mac80211/
H A Dwme.c145 struct mac80211_qos_map *qos_map; in __ieee80211_select_queue() local
170 qos_map = rcu_dereference(sdata->qos_map); in __ieee80211_select_queue()
171 skb->priority = cfg80211_classify8021d(skb, qos_map ? in __ieee80211_select_queue()
172 &qos_map->qos_map : NULL); in __ieee80211_select_queue()
H A Dcfg.c3756 struct cfg80211_qos_map *qos_map) in ieee80211_set_qos_map()
3761 if (qos_map) { in ieee80211_set_qos_map()
3765 memcpy(&new_qos_map->qos_map, qos_map, sizeof(*qos_map)); in ieee80211_set_qos_map()
3767 /* A NULL qos_map was passed to disable QoS mapping */ in ieee80211_set_qos_map()
3771 old_qos_map = sdata_dereference(sdata->qos_map, sdata); in ieee80211_set_qos_map()
3772 rcu_assign_pointer(sdata->qos_map, new_qos_map); in ieee80211_set_qos_map()
3754 ieee80211_set_qos_map(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_qos_map *qos_map) ieee80211_set_qos_map() argument
H A Dieee80211_i.h839 struct cfg80211_qos_map qos_map; member
943 struct mac80211_qos_map __rcu *qos_map; member
/kernel/linux/linux-5.10/net/wireless/
H A Dutil.c833 struct cfg80211_qos_map *qos_map) in cfg80211_classify8021d()
885 if (qos_map) { in cfg80211_classify8021d()
888 for (i = 0; i < qos_map->num_des; i++) { in cfg80211_classify8021d()
889 if (tmp_dscp == qos_map->dscp_exception[i].dscp) { in cfg80211_classify8021d()
890 ret = qos_map->dscp_exception[i].up; in cfg80211_classify8021d()
896 if (tmp_dscp >= qos_map->up[i].low && in cfg80211_classify8021d()
897 tmp_dscp <= qos_map->up[i].high) { in cfg80211_classify8021d()
832 cfg80211_classify8021d(struct sk_buff *skb, struct cfg80211_qos_map *qos_map) cfg80211_classify8021d() argument
H A Dtrace.h208 #define QOS_MAP_ASSIGN(qos_map) \
210 if ((qos_map)) { \
211 __entry->num_des = (qos_map)->num_des; \
213 &(qos_map)->dscp_exception, \
215 memcpy(__entry->up, &(qos_map)->up, \
2241 struct cfg80211_qos_map *qos_map),
2242 TP_ARGS(wiphy, netdev, qos_map),
2251 QOS_MAP_ASSIGN(qos_map);
H A Drdev-ops.h1095 struct cfg80211_qos_map *qos_map) in rdev_set_qos_map()
1100 trace_rdev_set_qos_map(&rdev->wiphy, dev, qos_map); in rdev_set_qos_map()
1101 ret = rdev->ops->set_qos_map(&rdev->wiphy, dev, qos_map); in rdev_set_qos_map()
1093 rdev_set_qos_map(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_qos_map *qos_map) rdev_set_qos_map() argument
H A Dnl80211.c13878 struct cfg80211_qos_map *qos_map = NULL; in nl80211_set_qos_map() local
13893 qos_map = kzalloc(sizeof(struct cfg80211_qos_map), GFP_KERNEL); in nl80211_set_qos_map()
13894 if (!qos_map) in nl80211_set_qos_map()
13901 memcpy(qos_map->dscp_exception, pos, des_len); in nl80211_set_qos_map()
13902 qos_map->num_des = num_des; in nl80211_set_qos_map()
13904 if (qos_map->dscp_exception[des].up > 7) { in nl80211_set_qos_map()
13905 kfree(qos_map); in nl80211_set_qos_map()
13911 memcpy(qos_map->up, pos, IEEE80211_QOS_MAP_LEN_MIN); in nl80211_set_qos_map()
13917 ret = rdev_set_qos_map(rdev, dev, qos_map); in nl80211_set_qos_map()
13920 kfree(qos_map); in nl80211_set_qos_map()
[all...]
/kernel/linux/linux-6.6/net/wireless/
H A Dutil.c918 struct cfg80211_qos_map *qos_map) in cfg80211_classify8021d()
970 if (qos_map) { in cfg80211_classify8021d()
973 for (i = 0; i < qos_map->num_des; i++) { in cfg80211_classify8021d()
974 if (tmp_dscp == qos_map->dscp_exception[i].dscp) { in cfg80211_classify8021d()
975 ret = qos_map->dscp_exception[i].up; in cfg80211_classify8021d()
981 if (tmp_dscp >= qos_map->up[i].low && in cfg80211_classify8021d()
982 tmp_dscp <= qos_map->up[i].high) { in cfg80211_classify8021d()
917 cfg80211_classify8021d(struct sk_buff *skb, struct cfg80211_qos_map *qos_map) cfg80211_classify8021d() argument
H A Dtrace.h219 #define QOS_MAP_ASSIGN(qos_map) \
221 if ((qos_map)) { \
222 __entry->num_des = (qos_map)->num_des; \
224 &(qos_map)->dscp_exception, \
226 memcpy(__entry->up, &(qos_map)->up, \
2353 struct cfg80211_qos_map *qos_map),
2354 TP_ARGS(wiphy, netdev, qos_map),
2363 QOS_MAP_ASSIGN(qos_map);
H A Drdev-ops.h1114 struct cfg80211_qos_map *qos_map) in rdev_set_qos_map()
1119 trace_rdev_set_qos_map(&rdev->wiphy, dev, qos_map); in rdev_set_qos_map()
1120 ret = rdev->ops->set_qos_map(&rdev->wiphy, dev, qos_map); in rdev_set_qos_map()
1112 rdev_set_qos_map(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_qos_map *qos_map) rdev_set_qos_map() argument
H A Dnl80211.c15286 struct cfg80211_qos_map *qos_map = NULL; in nl80211_set_qos_map() local
15301 qos_map = kzalloc(sizeof(struct cfg80211_qos_map), GFP_KERNEL); in nl80211_set_qos_map()
15302 if (!qos_map) in nl80211_set_qos_map()
15309 memcpy(qos_map->dscp_exception, pos, des_len); in nl80211_set_qos_map()
15310 qos_map->num_des = num_des; in nl80211_set_qos_map()
15312 if (qos_map->dscp_exception[des].up > 7) { in nl80211_set_qos_map()
15313 kfree(qos_map); in nl80211_set_qos_map()
15319 memcpy(qos_map->up, pos, IEEE80211_QOS_MAP_LEN_MIN); in nl80211_set_qos_map()
15325 ret = rdev_set_qos_map(rdev, dev, qos_map); in nl80211_set_qos_map()
15328 kfree(qos_map); in nl80211_set_qos_map()
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dcfg80211.h4187 struct cfg80211_qos_map *qos_map);
5667 * @qos_map: Interworking QoS mapping or %NULL if not in use
5671 struct cfg80211_qos_map *qos_map);
/kernel/linux/linux-6.6/include/net/
H A Dcfg80211.h4677 struct cfg80211_qos_map *qos_map);
6505 * @qos_map: Interworking QoS mapping or %NULL if not in use
6509 struct cfg80211_qos_map *qos_map);

Completed in 104 milliseconds