.. | .. |
---|
1387 | 1387 | pattrib->bswenc = _FALSE; |
---|
1388 | 1388 | #endif |
---|
1389 | 1389 | |
---|
1390 | | - if ((pattrib->encrypt) && (eapol_type == EAPOL_4_4)) |
---|
1391 | | - pattrib->bswenc = _TRUE; |
---|
1392 | | - |
---|
1393 | 1390 | exit: |
---|
1394 | 1391 | |
---|
1395 | 1392 | return res; |
---|
.. | .. |
---|
2696 | 2693 | s32 check_amsdu(struct xmit_frame *pxmitframe) |
---|
2697 | 2694 | { |
---|
2698 | 2695 | struct pkt_attrib *pattrib; |
---|
2699 | | - struct sta_info *psta = NULL; |
---|
2700 | 2696 | s32 ret = _TRUE; |
---|
2701 | 2697 | |
---|
2702 | 2698 | if (!pxmitframe) |
---|
2703 | 2699 | ret = _FALSE; |
---|
2704 | 2700 | |
---|
2705 | 2701 | pattrib = &pxmitframe->attrib; |
---|
2706 | | - |
---|
2707 | | - psta = rtw_get_stainfo(&pxmitframe->padapter->stapriv, &pattrib->ra[0]); |
---|
2708 | | - if (psta) { |
---|
2709 | | - if (psta->flags & WLAN_STA_AMSDU_DISABLE) |
---|
2710 | | - ret =_FALSE; |
---|
2711 | | - } |
---|
2712 | 2702 | |
---|
2713 | 2703 | if (IS_MCAST(pattrib->ra)) |
---|
2714 | 2704 | ret = _FALSE; |
---|
.. | .. |
---|
6157 | 6147 | PADAPTER padapter; |
---|
6158 | 6148 | #ifdef RTW_XMIT_THREAD_HIGH_PRIORITY |
---|
6159 | 6149 | #ifdef PLATFORM_LINUX |
---|
6160 | | -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0)) |
---|
6161 | | - sched_set_fifo_low(current); |
---|
6162 | | -#else |
---|
6163 | 6150 | struct sched_param param = { .sched_priority = 1 }; |
---|
6164 | | - |
---|
| 6151 | + |
---|
6165 | 6152 | sched_setscheduler(current, SCHED_FIFO, ¶m); |
---|
6166 | | -#endif |
---|
6167 | 6153 | #endif /* PLATFORM_LINUX */ |
---|
6168 | 6154 | #endif /* RTW_XMIT_THREAD_HIGH_PRIORITY */ |
---|
6169 | 6155 | |
---|