Wireless Yagi Antenna TP512 in most cases can not be attached directly to the device (wifi router, etc.) without some type of cable converter/adapter This Antenna has N-Female cable/connector so it will need the cable/converter from N-Female type to [your device connector type], usually to some pigtail coax RP-SMA cable connector. Also, you can put amp of some kind between device and antenna.
The antenna does not come with mast pole mount; it comes with two U-bolts which can be used with the attached plate for pole mounting. It allows horizontal or vertical polarization.
The yagi antenna is used to direct the WiFi beam. It will increase the signal/reception in the direction it is pointing.