| 996 | |
| 997 | #ifdef IEEE80211_SUPPORT_TDMA |
| 998 | static int |
| 999 | tdma_isfull(const struct ieee80211_tdma_param *tdma) |
| 1000 | { |
| 1001 | int slot, slotcnt; |
| 1002 | |
| 1003 | slotcnt = tdma->tdma_slotcnt; |
| 1004 | for (slot = slotcnt-1; slot >= 0; slot--) |
| 1005 | if (isclr(tdma->tdma_inuse, slot)) |
| 1006 | return 0; |
| 1007 | return 1; |
| 1008 | } |
| 1009 | #endif /* IEEE80211_SUPPORT_TDMA */ |
| 1010 | |
| 1011 | /* |