Skip to content

Commit

Permalink
add 7612 txbf
Browse files Browse the repository at this point in the history
  • Loading branch information
padavanonly committed May 3, 2023
1 parent f920f5b commit f1077cb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -798,16 +798,17 @@ void linux_pci_unmap_single(void *handle, ra_dma_addr_t dma_addr, size_t size, i
#define PCI_FREE_CONSISTENT(_pci_dev, _size, _virtual_addr, _physical_addr) \
pci_free_consistent(_pci_dev, _size, _virtual_addr, _physical_addr)

#ifdef VENDOR_FEATURE2_SUPPORT
#define DEV_ALLOC_SKB(_pAd, _Pkt, _length) \
_Pkt = dev_alloc_skb(_length); \
if (_Pkt != NULL) {MEM_DBG_PKT_ALLOC_INC(_Pkt);};
#else

#define DEV_ALLOC_SKB(_pAd, _Pkt, _length) \
_Pkt = dev_alloc_skb(_length);
#endif /* VENDOR_FEATURE2_SUPPORT */

#ifndef NET_SKB_PAD
#define NET_SKB_PAD 32
#endif
#define DEV_ALLOC_SKB(_Pkt, _length) \
do {\
_Pkt = alloc_skb(_length + NET_SKB_PAD, GFP_ATOMIC); \
if (_Pkt != NULL) { \
skb_reserve(_Pkt, NET_SKB_PAD); \
MEM_DBG_PKT_ALLOC_INC(_Pkt); \
}; \
} while (0)
/*#define PCI_MAP_SINGLE(_handle, _ptr, _size, _dir) (ULONG)0 */
/*#define PCI_UNMAP_SINGLE(_handle, _ptr, _size, _dir) */

Expand Down
2 changes: 1 addition & 1 deletion trunk/user/httpd/web_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -2679,7 +2679,7 @@ ej_firmware_caps_hook(int eid, webs_t wp, int argc, char **argv)
#else
int has_5g_vht = 0;
#endif
#if defined (USE_WID_5G) && (USE_WID_5G==7615 || USE_WID_5G==7915)
#if defined (USE_WID_5G) && (USE_WID_5G==7615 || USE_WID_5G==7915 || USE_WID_5G==7612)
int has_5g_mumimo = 1;
int has_5g_txbf = 1;
#if defined (BOARD_MT7615_DBDC) || defined (BOARD_MT7915_DBDC)
Expand Down

0 comments on commit f1077cb

Please sign in to comment.