Electron beam interaction with high frequency structures (beyond microwave regime) has a great impact on future high energy frontier machines. We report on the generation of multimegawatt pulsed rf power at 91 GHz in a planar metallic accelerating structure driven by an ultrarelativistic electron bunch train. This slow-wave wakefield device can also be used for high gradient acceleration of electrons with a stable rf phase and amplitude which are controlled by manipulation of the bunch train. To achieve precise control of the rf pulse properties, a two-beam wakefield interferometry method was developed in which the rf pulse, due to the interference of the wakefields from the two bunches, was measured as a function of bunch separation. Measurements of the energy change of a trailing electron bunch as a function of the bunch separation confirmed the interferometry method.