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

/linux-4.1.27/net/mac80211/
H A Dwme.c152 struct mac80211_qos_map *qos_map; ieee80211_select_queue() local
217 qos_map = rcu_dereference(sdata->qos_map); ieee80211_select_queue()
218 skb->priority = cfg80211_classify8021d(skb, qos_map ? ieee80211_select_queue()
219 &qos_map->qos_map : NULL); ieee80211_select_queue()
H A Dcfg.c3590 struct cfg80211_qos_map *qos_map) ieee80211_set_qos_map()
3595 if (qos_map) { ieee80211_set_qos_map()
3599 memcpy(&new_qos_map->qos_map, qos_map, sizeof(*qos_map)); ieee80211_set_qos_map()
3601 /* A NULL qos_map was passed to disable QoS mapping */ ieee80211_set_qos_map()
3605 old_qos_map = sdata_dereference(sdata->qos_map, sdata); ieee80211_set_qos_map()
3606 rcu_assign_pointer(sdata->qos_map, new_qos_map); ieee80211_set_qos_map()
3588 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.h807 struct cfg80211_qos_map qos_map; member in struct:mac80211_qos_map
868 struct mac80211_qos_map __rcu *qos_map; member in struct:ieee80211_sub_if_data
/linux-4.1.27/net/wireless/
H A Dutil.c748 struct cfg80211_qos_map *qos_map) cfg80211_classify8021d()
794 if (qos_map) {
797 for (i = 0; i < qos_map->num_des; i++) {
798 if (tmp_dscp == qos_map->dscp_exception[i].dscp)
799 return qos_map->dscp_exception[i].up;
803 if (tmp_dscp >= qos_map->up[i].low &&
804 tmp_dscp <= qos_map->up[i].high)
747 cfg80211_classify8021d(struct sk_buff *skb, struct cfg80211_qos_map *qos_map) cfg80211_classify8021d() argument
H A Dtrace.h194 #define QOS_MAP_ASSIGN(qos_map) \
196 if ((qos_map)) { \
197 __entry->num_des = (qos_map)->num_des; \
199 &(qos_map)->dscp_exception, \
201 memcpy(__entry->up, &(qos_map)->up, \
1964 struct cfg80211_qos_map *qos_map),
1965 TP_ARGS(wiphy, netdev, qos_map),
1974 QOS_MAP_ASSIGN(qos_map);
H A Drdev-ops.h940 struct cfg80211_qos_map *qos_map) rdev_set_qos_map()
945 trace_rdev_set_qos_map(&rdev->wiphy, dev, qos_map); rdev_set_qos_map()
946 ret = rdev->ops->set_qos_map(&rdev->wiphy, dev, qos_map); rdev_set_qos_map()
938 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.c9998 struct cfg80211_qos_map *qos_map = NULL; nl80211_set_qos_map() local
10014 qos_map = kzalloc(sizeof(struct cfg80211_qos_map), GFP_KERNEL); nl80211_set_qos_map()
10015 if (!qos_map) nl80211_set_qos_map()
10022 memcpy(qos_map->dscp_exception, pos, des_len); nl80211_set_qos_map()
10023 qos_map->num_des = num_des; nl80211_set_qos_map()
10025 if (qos_map->dscp_exception[des].up > 7) { nl80211_set_qos_map()
10026 kfree(qos_map); nl80211_set_qos_map()
10032 memcpy(qos_map->up, pos, IEEE80211_QOS_MAP_LEN_MIN); nl80211_set_qos_map()
10038 ret = rdev_set_qos_map(rdev, dev, qos_map); nl80211_set_qos_map()
10041 kfree(qos_map); nl80211_set_qos_map()
/linux-4.1.27/include/net/
H A Dcfg80211.h2697 struct cfg80211_qos_map *qos_map);
3754 * @qos_map: Interworking QoS mapping or %NULL if not in use
3758 struct cfg80211_qos_map *qos_map);

Completed in 379 milliseconds