summaryrefslogtreecommitdiff
path: root/net/wireless/rdev-ops.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-02-24 13:34:25 +0300
committerJohannes Berg <johannes.berg@intel.com>2020-02-24 14:01:10 +0300
commit3710a8a6284f58a78ba4fe9c4b6672207636a223 (patch)
tree23aad86b1eae74040558aeb3d9022f699aafa90d /net/wireless/rdev-ops.h
parent77f576deaa393b54a0f2ca8ab1ab5b2d3c6b971b (diff)
downloadlinux-3710a8a6284f58a78ba4fe9c4b6672207636a223.tar.xz
nl80211: modify TID-config API
Make some changes to the TID-config API: * use u16 in nl80211 (only, and restrict to using 8 bits for now), to avoid issues in the future if we ever want to use higher TIDs. * reject empty TIDs mask (via netlink policy) * change feature advertising to not use extended feature flags but have own mechanism for this, which simplifies the code * fix all variable names from 'tid' to 'tids' since it's a mask * change to cfg80211_ name prefixes, not ieee80211_ * fix some minor docs/spelling things. Change-Id: Ia234d464b3f914cdeab82f540e018855be580dce Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/rdev-ops.h')
-rw-r--r--net/wireless/rdev-ops.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/wireless/rdev-ops.h b/net/wireless/rdev-ops.h
index a754e0496b6c..99462f0c4e08 100644
--- a/net/wireless/rdev-ops.h
+++ b/net/wireless/rdev-ops.h
@@ -1328,7 +1328,7 @@ rdev_probe_mesh_link(struct cfg80211_registered_device *rdev,
static inline int rdev_set_tid_config(struct cfg80211_registered_device *rdev,
struct net_device *dev,
- struct ieee80211_tid_config *tid_conf)
+ struct cfg80211_tid_config *tid_conf)
{
int ret;
@@ -1340,12 +1340,12 @@ static inline int rdev_set_tid_config(struct cfg80211_registered_device *rdev,
static inline int rdev_reset_tid_config(struct cfg80211_registered_device *rdev,
struct net_device *dev, const u8 *peer,
- u8 tid)
+ u8 tids)
{
int ret;
- trace_rdev_reset_tid_config(&rdev->wiphy, dev, peer, tid);
- ret = rdev->ops->reset_tid_config(&rdev->wiphy, dev, peer, tid);
+ trace_rdev_reset_tid_config(&rdev->wiphy, dev, peer, tids);
+ ret = rdev->ops->reset_tid_config(&rdev->wiphy, dev, peer, tids);
trace_rdev_return_int(&rdev->wiphy, ret);
return ret;
}