Lines Matching refs:ireq
742 tdma_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq)
749 switch (ireq->i_type) {
751 ireq->i_val = ts->tdma_slot;
754 ireq->i_val = ts->tdma_slotcnt;
757 ireq->i_val = ts->tdma_slotlen;
760 ireq->i_val = ts->tdma_bintval;
770 tdma_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq)
777 switch (ireq->i_type) {
779 if (!(0 <= ireq->i_val && ireq->i_val <= ts->tdma_slotcnt))
781 if (ireq->i_val != ts->tdma_slot) {
782 ts->tdma_slot = ireq->i_val;
787 if (!TDMA_SLOTCNT_VALID(ireq->i_val))
789 if (ireq->i_val != ts->tdma_slotcnt) {
790 ts->tdma_slotcnt = ireq->i_val;
801 if (!TDMA_SLOTLEN_VALID(ireq->i_val))
803 if (ireq->i_val != ts->tdma_slotlen) {
804 ts->tdma_slotlen = ireq->i_val;
809 if (!TDMA_BINTVAL_VALID(ireq->i_val))
811 if (ireq->i_val != ts->tdma_bintval) {
812 ts->tdma_bintval = ireq->i_val;