Lines Matching refs:peer_notify
541 struct rsi_peer_notify *peer_notify; in rsi_hal_send_sta_notify_frame() local
557 peer_notify = (struct rsi_peer_notify *)skb->data; in rsi_hal_send_sta_notify_frame()
560 peer_notify->command = cpu_to_le16(PEER_TYPE_AP << 1); in rsi_hal_send_sta_notify_frame()
562 peer_notify->command = cpu_to_le16(PEER_TYPE_STA << 1); in rsi_hal_send_sta_notify_frame()
566 peer_notify->command |= cpu_to_le16(RSI_ADD_PEER); in rsi_hal_send_sta_notify_frame()
569 peer_notify->command |= cpu_to_le16(RSI_DELETE_PEER); in rsi_hal_send_sta_notify_frame()
575 peer_notify->command |= cpu_to_le16((aid & 0xfff) << 4); in rsi_hal_send_sta_notify_frame()
576 ether_addr_copy(peer_notify->mac_addr, bssid); in rsi_hal_send_sta_notify_frame()
577 peer_notify->mpdu_density = cpu_to_le16(RSI_MPDU_DENSITY); in rsi_hal_send_sta_notify_frame()
578 peer_notify->sta_flags = cpu_to_le32((qos_enable) ? 1 : 0); in rsi_hal_send_sta_notify_frame()
580 rsi_set_len_qno(&peer_notify->desc.desc_dword0.len_qno, in rsi_hal_send_sta_notify_frame()
583 peer_notify->desc.desc_dword0.frame_type = PEER_NOTIFY; in rsi_hal_send_sta_notify_frame()
584 peer_notify->desc.desc_dword3.qid_tid = sta_id; in rsi_hal_send_sta_notify_frame()
585 peer_notify->desc.desc_dword3.sta_id = vap_id; in rsi_hal_send_sta_notify_frame()