Lines Matching refs:mp
104 ieee80211_mgmt_output(ieee80211com_t *ic, ieee80211_node_t *in, mblk_t *mp,
112 wh = (struct ieee80211_frame *)mp->b_rptr;
125 return ((*ic->ic_xmit)(ic, mp, IEEE80211_FC0_TYPE_MGT));
176 ieee80211_encap(ieee80211com_t *ic, mblk_t *mp, ieee80211_node_t *in)
182 ASSERT(mp != NULL && MBLKL(mp) >= sizeof (struct ieee80211_frame));
191 wh = (struct ieee80211_frame *)mp->b_rptr;
197 ac = ieee80211_classify(ic, mp, in);
256 if (!ieee80211_crypto_enmic(isc, key, mp, 0))
260 return (mp);
427 mblk_t *mp;
440 mp = ieee80211_getmgtframe(&frm,
445 if (mp == NULL)
456 mp->b_wptr = frm;
458 wh = (struct ieee80211_frame *)mp->b_rptr;
468 (void) (*ic->ic_xmit)(ic, mp, IEEE80211_FC0_TYPE_MGT);
480 mblk_t *mp;
513 mp = ieee80211_getmgtframe(&frm,
533 if (mp == NULL)
593 mp->b_wptr = frm; /* allocated is greater than used */
621 mp = ieee80211_getmgtframe(&frm,
626 if (mp == NULL)
652 mp = ieee80211_getmgtframe(&frm, sizeof (uint16_t));
653 if (mp == NULL)
676 mp = ieee80211_getmgtframe(&frm,
685 if (mp == NULL)
729 mp->b_wptr = frm; /* allocated is greater than used */
747 mp = ieee80211_getmgtframe(&frm,
751 if (mp == NULL)
769 mp->b_wptr = frm;
773 mp = ieee80211_getmgtframe(&frm, sizeof (uint16_t));
774 if (mp == NULL)
785 ret = ieee80211_mgmt_output(ic, in, mp, type, timer);
934 struct ieee80211_beacon_offsets *bo, mblk_t *mp, int mcast)