Thread (31 messages) 31 messages, 4 authors, 2012-12-03

Re: [RFCv2 05/13] mac80211: track neighbor STA power modes

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2012-11-30 12:02:22

On Fri, 2012-11-23 at 12:18 -0800, Marco Porsch wrote:
+/**
+ * ieee80211_has_qos_pm - check Power Save Level in QoS control
+ * @qc - QoS control bytes in little-endian byteorder
+ */
+static inline bool ieee80211_has_qos_pm(__le16 qc)
+{
+	return (qc & cpu_to_le16(IEEE80211_QOS_CTL_MESH_PS_LEVEL)) != 0;
I think this is confusing. Why not call it "has_qos_mesh_ps" or
something?

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help