| .. | .. |
|---|
| 2213 | 2213 | } while (0) |
|---|
| 2214 | 2214 | #define DHD_TXFL_WAKE_LOCK_TIMEOUT(pub, val) \ |
|---|
| 2215 | 2215 | do { \ |
|---|
| 2216 | | - printf("call pm_wake_timeout enable\n"); \ |
|---|
| 2216 | + printf("call txfl_wake_timeout enable\n"); \ |
|---|
| 2217 | 2217 | dhd_txfl_wake_lock_timeout(pub, val); \ |
|---|
| 2218 | 2218 | } while (0) |
|---|
| 2219 | 2219 | #define DHD_TXFL_WAKE_UNLOCK(pub) \ |
|---|
| .. | .. |
|---|
| 2366 | 2366 | #define DHD_OS_OOB_IRQ_WAKE_UNLOCK(pub) dhd_os_oob_irq_wake_unlock(pub) |
|---|
| 2367 | 2367 | #endif /* BCMPCIE_OOB_HOST_WAKE */ |
|---|
| 2368 | 2368 | |
|---|
| 2369 | +#ifndef DHD_PACKET_TIMEOUT_MS |
|---|
| 2369 | 2370 | #define DHD_PACKET_TIMEOUT_MS 500 |
|---|
| 2371 | +#endif |
|---|
| 2370 | 2372 | #define DHD_EVENT_TIMEOUT_MS 1500 |
|---|
| 2371 | 2373 | #define SCAN_WAKE_LOCK_TIMEOUT 10000 |
|---|
| 2374 | +#ifndef MAX_TX_TIMEOUT |
|---|
| 2372 | 2375 | #define MAX_TX_TIMEOUT 500 |
|---|
| 2376 | +#endif |
|---|
| 2373 | 2377 | |
|---|
| 2374 | 2378 | /* Enum for IOCTL recieved status */ |
|---|
| 2375 | 2379 | typedef enum dhd_ioctl_recieved_status |
|---|
| .. | .. |
|---|
| 3703 | 3707 | |
|---|
| 3704 | 3708 | #ifdef DBG_PKT_MON |
|---|
| 3705 | 3709 | /* Enable DHD PKT MON spin lock/unlock */ |
|---|
| 3706 | | -#define DHD_PKT_MON_LOCK(lock, flags) (flags) = osl_mutex_lock(lock) |
|---|
| 3707 | | -#define DHD_PKT_MON_UNLOCK(lock, flags) osl_mutex_unlock(lock, (flags)) |
|---|
| 3710 | +#define DHD_PKT_MON_LOCK(lock, flags) (flags) = osl_spin_lock(lock) |
|---|
| 3711 | +#define DHD_PKT_MON_UNLOCK(lock, flags) osl_spin_unlock(lock, (flags)) |
|---|
| 3708 | 3712 | #endif /* DBG_PKT_MON */ |
|---|
| 3709 | 3713 | |
|---|
| 3710 | 3714 | #ifdef DHD_PKT_LOGGING |
|---|
| .. | .. |
|---|
| 4723 | 4727 | #define DHD_VFS_UNLINK(dir, b, c) 0 |
|---|
| 4724 | 4728 | |
|---|
| 4725 | 4729 | static INLINE struct file *dhd_filp_open(const char *filename, int flags, int mode) |
|---|
| 4726 | | - { return NULL; } |
|---|
| 4730 | + { printf("%s: DHD_SUPPORT_VFS_CALL not defined\n", __FUNCTION__); return NULL; } |
|---|
| 4727 | 4731 | static INLINE int dhd_filp_close(void *image, void *id) |
|---|
| 4728 | 4732 | { return 0; } |
|---|
| 4729 | 4733 | static INLINE int dhd_i_size_read(const struct inode *inode) |
|---|