Searched refs:qos_map (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/net/mac80211/ |
D | wme.c | 144 struct mac80211_qos_map *qos_map; in __ieee80211_select_queue() local 168 qos_map = rcu_dereference(sdata->qos_map); in __ieee80211_select_queue() 169 skb->priority = cfg80211_classify8021d(skb, qos_map ? in __ieee80211_select_queue() 170 &qos_map->qos_map : NULL); in __ieee80211_select_queue()
|
D | cfg.c | 3753 struct cfg80211_qos_map *qos_map) in ieee80211_set_qos_map() argument 3758 if (qos_map) { in ieee80211_set_qos_map() 3762 memcpy(&new_qos_map->qos_map, qos_map, sizeof(*qos_map)); in ieee80211_set_qos_map() 3768 old_qos_map = sdata_dereference(sdata->qos_map, sdata); in ieee80211_set_qos_map() 3769 rcu_assign_pointer(sdata->qos_map, new_qos_map); in ieee80211_set_qos_map()
|
D | ieee80211_i.h | 819 struct cfg80211_qos_map qos_map; member 923 struct mac80211_qos_map __rcu *qos_map; member
|
/kernel/linux/linux-5.10/net/wireless/ |
D | util.c | 833 struct cfg80211_qos_map *qos_map) in cfg80211_classify8021d() argument 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()
|
D | trace.h | 208 #define QOS_MAP_ASSIGN(qos_map) \ argument 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);
|
D | rdev-ops.h | 1095 struct cfg80211_qos_map *qos_map) in rdev_set_qos_map() argument 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()
|
D | nl80211.c | 13870 struct cfg80211_qos_map *qos_map = NULL; in nl80211_set_qos_map() local 13885 qos_map = kzalloc(sizeof(struct cfg80211_qos_map), GFP_KERNEL); in nl80211_set_qos_map() 13886 if (!qos_map) in nl80211_set_qos_map() 13893 memcpy(qos_map->dscp_exception, pos, des_len); in nl80211_set_qos_map() 13894 qos_map->num_des = num_des; in nl80211_set_qos_map() 13896 if (qos_map->dscp_exception[des].up > 7) { in nl80211_set_qos_map() 13897 kfree(qos_map); in nl80211_set_qos_map() 13903 memcpy(qos_map->up, pos, IEEE80211_QOS_MAP_LEN_MIN); in nl80211_set_qos_map() 13909 ret = rdev_set_qos_map(rdev, dev, qos_map); in nl80211_set_qos_map() 13912 kfree(qos_map); in nl80211_set_qos_map()
|
/kernel/linux/linux-5.10/include/net/ |
D | cfg80211.h | 4184 struct cfg80211_qos_map *qos_map); 5668 struct cfg80211_qos_map *qos_map);
|