Lines Matching defs:ireq
751 tdma_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq)
758 switch (ireq->i_type) {
760 ireq->i_val = ts->tdma_slot;
763 ireq->i_val = ts->tdma_slotcnt;
766 ireq->i_val = ts->tdma_slotlen;
769 ireq->i_val = ts->tdma_bintval;
779 tdma_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq)
786 switch (ireq->i_type) {
788 if (!(0 <= ireq->i_val && ireq->i_val <= ts->tdma_slotcnt))
790 if (ireq->i_val != ts->tdma_slot) {
791 ts->tdma_slot = ireq->i_val;
796 if (!TDMA_SLOTCNT_VALID(ireq->i_val))
798 if (ireq->i_val != ts->tdma_slotcnt) {
799 ts->tdma_slotcnt = ireq->i_val;
810 if (!TDMA_SLOTLEN_VALID(ireq->i_val))
812 if (ireq->i_val != ts->tdma_slotlen) {
813 ts->tdma_slotlen = ireq->i_val;
818 if (!TDMA_BINTVAL_VALID(ireq->i_val))
820 if (ireq->i_val != ts->tdma_bintval) {
821 ts->tdma_bintval = ireq->i_val;