Lines Matching defs:ireq
738 tdma_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq)
745 switch (ireq->i_type) {
747 ireq->i_val = ts->tdma_slot;
750 ireq->i_val = ts->tdma_slotcnt;
753 ireq->i_val = ts->tdma_slotlen;
756 ireq->i_val = ts->tdma_bintval;
766 tdma_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq)
773 switch (ireq->i_type) {
775 if (!(0 <= ireq->i_val && ireq->i_val <= ts->tdma_slotcnt))
777 if (ireq->i_val != ts->tdma_slot) {
778 ts->tdma_slot = ireq->i_val;
783 if (!TDMA_SLOTCNT_VALID(ireq->i_val))
785 if (ireq->i_val != ts->tdma_slotcnt) {
786 ts->tdma_slotcnt = ireq->i_val;
797 if (!TDMA_SLOTLEN_VALID(ireq->i_val))
799 if (ireq->i_val != ts->tdma_slotlen) {
800 ts->tdma_slotlen = ireq->i_val;
805 if (!TDMA_BINTVAL_VALID(ireq->i_val))
807 if (ireq->i_val != ts->tdma_bintval) {
808 ts->tdma_bintval = ireq->i_val;