[PATCH] mac80211: add vht cap decode to debugfs.

2016-05-02 Thread greearb
From: Ben Greear This makes it a lot easier to understand the capabilities used by the station: VHT supported cap: 0x300819b2 MAX-MPDU-11454 RXLDPC SHORT-GI-80 TXSTBC RXSTBC_1 RXSTBC_3

Re: [PATCH] mac80211: add vht cap decode to debugfs.

2016-05-02 Thread Johannes Berg
> + if (vhtc->cap & IEEE80211_VHT_CAP_ ## a)+ > p += scnprintf(p, sizeof(buf) + buf > - p, \ > +    "\t\t%s\n", b); Why not use #a instead of b? > + PFLAG(MAX_MPDU_LENGTH_3895, "MAX-MPDU-3895")

Re: [PATCH] mac80211: add vht cap decode to debugfs.

2016-05-02 Thread Ben Greear
On 05/02/2016 02:23 PM, Johannes Berg wrote: + if (vhtc->cap & IEEE80211_VHT_CAP_ ## a)+ p += scnprintf(p, sizeof(buf) + buf - p, \ + "\t\t%s\n", b); Why not use #a instead of b? +