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

Function printtdmaie

tools/ifconfig/ifieee80211.c:3425–3439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3423}
3424
3425static void
3426printtdmaie(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen)
3427{
3428 printf("%s", tag);
3429 if (verbose && ielen >= sizeof(struct ieee80211_tdma_param)) {
3430 const struct ieee80211_tdma_param *tdma =
3431 (const struct ieee80211_tdma_param *) ie;
3432
3433 /* XXX tstamp */
3434 printf("<v%u slot:%u slotcnt:%u slotlen:%u bintval:%u inuse:0x%x>",
3435 tdma->tdma_version, tdma->tdma_slot, tdma->tdma_slotcnt,
3436 LE_READ_2(&tdma->tdma_slotlen), tdma->tdma_bintval,
3437 tdma->tdma_inuse[0]);
3438 }
3439}
3440
3441/*
3442 * Copy the ssid string contents into buf, truncating to fit. If the

Callers 1

printiesFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected