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

Function printrates

tools/ifconfig/ifieee80211.c:3491–3506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3489}
3490
3491static void
3492printrates(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen)
3493{
3494 const char *sep;
3495 int i;
3496
3497 printf("%s", tag);
3498 sep = "<";
3499 for (i = 2; i < ielen; i++) {
3500 printf("%s%s%d", sep,
3501 ie[i] & IEEE80211_RATE_BASIC ? "B" : "",
3502 ie[i] & IEEE80211_RATE_VAL);
3503 sep = ",";
3504 }
3505 printf(">");
3506}
3507
3508static void
3509printcountry(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen)

Callers 1

printiesFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected