MCPcopy Create free account
hub / github.com/F-Stack/f-stack / gettxseq

Function gettxseq

tools/ifconfig/ifieee80211.c:3835–3848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3833static enum ieee80211_opmode get80211opmode(int s);
3834
3835static int
3836gettxseq(const struct ieee80211req_sta_info *si)
3837{
3838 int i, txseq;
3839
3840 if ((si->isi_state & IEEE80211_NODE_QOS) == 0)
3841 return si->isi_txseqs[0];
3842 /* XXX not right but usually what folks want */
3843 txseq = 0;
3844 for (i = 0; i < IEEE80211_TID_SIZE; i++)
3845 if (si->isi_txseqs[i] > txseq)
3846 txseq = si->isi_txseqs[i];
3847 return txseq;
3848}
3849
3850static int
3851getrxseq(const struct ieee80211req_sta_info *si)

Callers 1

list_stationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected